| 344 | } |
| 345 | |
| 346 | struct ds_device_base_info *SigSession::get_device_list(int &out_count, int &actived_index) |
| 347 | { |
| 348 | out_count = 0; |
| 349 | actived_index = -1; |
| 350 | struct ds_device_base_info *array = NULL; |
| 351 | |
| 352 | if (ds_get_device_list(&array, &out_count) == SR_OK) |
| 353 | { |
| 354 | actived_index = ds_get_actived_device_index(); |
| 355 | return array; |
| 356 | } |
| 357 | return NULL; |
| 358 | } |
| 359 | |
| 360 | uint64_t SigSession::cur_samplerate() |
| 361 | { |
no test coverage detected