summaryrefslogtreecommitdiffstats
path: root/bootstrap.py
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-03-31 12:53:05 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-03-31 13:43:32 -0700
commitb6c28dd26b6415181b406e1118920b13f80286b4 (patch)
tree2a7ee7350851c83de68f76b69f53bb1b79886874 /bootstrap.py
parentea00fe0eebe234c5f6f0f01f7f117cca3516d4df (diff)
downloadmpv-b6c28dd26b6415181b406e1118920b13f80286b4.tar.bz2
mpv-b6c28dd26b6415181b406e1118920b13f80286b4.tar.xz
ao_wasapi: simplify hotplug
Take advantage of the fact that list_devs is called with a hotplug_inited ao. Also eliminate unnecessary nested function abstraction of hotplug_(un)init and list_devs. However, keep list_devs in ao_wasapi_utils.c since it uses the private functions get_device_id, get_device_name and exposing these would require including headers for IMMDevice in ao_wasapi_utils.h.
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions