From ea00fe0eebe234c5f6f0f01f7f117cca3516d4df Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Tue, 31 Mar 2015 02:33:24 -0700 Subject: ao_wasapi: fix device listing remove depricated and convoluted validation. refer instead to the --audio-device option. --- audio/out/ao_wasapi_utils.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'audio/out/ao_wasapi_utils.h') 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); -- cgit v1.2.3