summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_utils.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-03-31 02:33:24 -0700
committerKevin Mitchell <kevmitch@gmail.com>2015-03-31 12:28:41 -0700
commitea00fe0eebe234c5f6f0f01f7f117cca3516d4df (patch)
tree0858a93bdf6f487e5dd06c3e64c06a8056334cc4 /audio/out/ao_wasapi_utils.h
parent8158dfc9e837a5f01e39f76861f035ac1451d205 (diff)
downloadmpv-ea00fe0eebe234c5f6f0f01f7f117cca3516d4df.tar.bz2
mpv-ea00fe0eebe234c5f6f0f01f7f117cca3516d4df.tar.xz
ao_wasapi: fix device listing
remove depricated and convoluted validation. refer instead to the --audio-device option.
Diffstat (limited to 'audio/out/ao_wasapi_utils.h')
-rwxr-xr-xaudio/out/ao_wasapi_utils.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/audio/out/ao_wasapi_utils.h b/audio/out/ao_wasapi_utils.h
index 7327d2f350..9806bba4a9 100755
--- a/audio/out/ao_wasapi_utils.h
+++ b/audio/out/ao_wasapi_utils.h
@@ -36,12 +36,8 @@ bool wasapi_fill_VistaBlob(wasapi_state *state);
const char *wasapi_explain_err(const HRESULT hr);
-bool wasapi_enumerate_devices(struct mp_log *log, struct ao *ao,
- struct ao_device_list *list);
-
-int wasapi_validate_device(struct mp_log *log, const m_option_t *opt,
- struct bstr name, struct bstr param);
-
+HRESULT wasapi_enumerate_devices(struct ao *ao,
+ struct ao_device_list *list);
void wasapi_dispatch(void);
HRESULT wasapi_thread_init(struct ao *ao);