diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 02:48:02 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-17 04:13:49 -0800 |
commit | e28102f1a8d4c5284fa2d2eb13fe4147eefcd02b (patch) | |
tree | 1b0ef5e00b317e9d4441b0034902d102f008d757 /audio/out/ao_wasapi_utils.h | |
parent | d4393be0f92f04922c5530d16b6db808d0b683ed (diff) | |
download | mpv-e28102f1a8d4c5284fa2d2eb13fe4147eefcd02b.tar.bz2 mpv-e28102f1a8d4c5284fa2d2eb13fe4147eefcd02b.tar.xz |
ao/wasapi: improve error messages and add more debug statements
also enforce more consistency in the exit codes and error handling
thanks to Jonathan Yong <10walls@gmail.com>
Diffstat (limited to 'audio/out/ao_wasapi_utils.h')
-rwxr-xr-x | audio/out/ao_wasapi_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi_utils.h b/audio/out/ao_wasapi_utils.h index 41167b9189..d0ba4f0222 100755 --- a/audio/out/ao_wasapi_utils.h +++ b/audio/out/ao_wasapi_utils.h @@ -37,7 +37,7 @@ int wasapi_enumerate_devices(struct mp_log *log, struct ao *ao, int wasapi_validate_device(struct mp_log *log, const m_option_t *opt, struct bstr name, struct bstr param); -int wasapi_thread_init(struct ao *ao); +HRESULT wasapi_thread_init(struct ao *ao); void wasapi_thread_uninit(struct ao *ao); HRESULT wasapi_setup_proxies(wasapi_state *state); |