summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2016-01-22 21:35:51 -0800
committerKevin Mitchell <kevmitch@gmail.com>2016-01-28 00:55:58 -0800
commite927ff16661e7b5bd42cba2aa3f1bd3d4ac148ff (patch)
tree9579a5ef8c22e653209cf33d2a6e5069f1a53693 /audio/out/ao_wasapi.h
parentf1072be3b795b1ca360be62cb22581250cd2d6d3 (diff)
downloadmpv-e927ff16661e7b5bd42cba2aa3f1bd3d4ac148ff.tar.bz2
mpv-e927ff16661e7b5bd42cba2aa3f1bd3d4ac148ff.tar.xz
ao_wasapi: correct check for specified device on default change
Correctly avoid a reload if the current device was specified by the user through --audio-device. Previously, we only recognized if the user had specified --ao=wasapi:device=.
Diffstat (limited to 'audio/out/ao_wasapi.h')
-rw-r--r--audio/out/ao_wasapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h
index 642d92f66f..eaa056a931 100644
--- a/audio/out/ao_wasapi.h
+++ b/audio/out/ao_wasapi.h
@@ -119,6 +119,7 @@ char *mp_PKEY_to_str_buf(char *buf, size_t buf_size, const PROPERTYKEY *pkey);
#define mp_PKEY_to_str(pkey) mp_PKEY_to_str_buf((char[42]){0}, 42, (pkey))
void wasapi_list_devs(struct ao *ao, struct ao_device_list *list);
+bstr wasapi_get_specified_device_string(struct ao *ao);
LPWSTR find_deviceID(struct ao *ao);
void wasapi_dispatch(struct ao *ao);