summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>2013-07-21 12:38:01 -0300
committerwm4 <wm4@nowhere>2013-07-22 02:42:38 +0200
commit964341b02df2488712dca540be8a28aa95c5c379 (patch)
tree145dbb51cd8be5a6d4c629be3fa1f346ec40d149 /README.md
parentd42c3e51b41cc6d421ecefab146b80e9879fcf23 (diff)
downloadmpv-964341b02df2488712dca540be8a28aa95c5c379.tar.bz2
mpv-964341b02df2488712dca540be8a28aa95c5c379.tar.xz
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 'README.md')
0 files changed, 0 insertions, 0 deletions