]> Repos - portaudio/commit
wdm/ks hotplug: fixed two bugs in CommitDeviceInfos() Firstly, hostApi->info.deviceCo...
authorRoss Bencina <rossb@audiomulch.com>
Fri, 2 Sep 2016 08:52:22 +0000 (18:52 +1000)
committerRoss Bencina <rossb@audiomulch.com>
Fri, 2 Sep 2016 08:52:22 +0000 (18:52 +1000)
commit23b4bdd49ab31da870e4e39eb20cb23132f473a1
tree159497dab104be3ac8b10cdb3a9cfc3f0c2b78fc
parent89f8f75a27ddfda9f9bcefcf96ac5c510a046b80
wdm/ks hotplug: fixed two bugs in CommitDeviceInfos() Firstly, hostApi->info.deviceCount was being zeroed before it was used to specify how many devices to free, so zero devices/filters would be freed. Secondly, a ptr ptr (**) to temporary scan results localScanResults was being pased to DisposeDeviceInfos() instead of a ptr (*).
src/hostapi/wdmks/pa_win_wdmks.c