MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_device_list

Method get_device_list

DSView/pv/sigsession.cpp:346–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

update_device_listMethod · 0.80

Calls 2

ds_get_device_listFunction · 0.85

Tested by

no test coverage detected