diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-03-31 12:53:05 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-03-31 13:43:32 -0700 |
commit | b6c28dd26b6415181b406e1118920b13f80286b4 (patch) | |
tree | 2a7ee7350851c83de68f76b69f53bb1b79886874 /talloc.h | |
parent | ea00fe0eebe234c5f6f0f01f7f117cca3516d4df (diff) | |
download | mpv-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 'talloc.h')
0 files changed, 0 insertions, 0 deletions