|author||Diogo Franco (Kovensky) <firstname.lastname@example.org>||2013-07-21 12:38:01 -0300|
|committer||wm4 <wm4@nowhere>||2013-07-22 02:42:38 +0200|
ao_wasapi: Use OPT_STRING_VALIDATE for device suboption
Validates by trying to pick the device using the device enumerator and aborting with out of range on failure. Refactors find_and_load_device to not use the wasapi_state; it might be called during validation. Adds missing CoInitialize/CoUninitialize calls. Remove unused variables (the SAFE_RELEASE macros keep them referenced so compiler warnings don't help finding them...). Remove the IMMDeviceEnumerator from the wasapi_state, it's only needed during initialization and initialization is now well factored enough to get rid of it. Try and connect to unplugged devices as well when using the device ID string.
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions