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.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.h')
-rwxr-xr-x | audio/out/ao_wasapi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_wasapi.h b/audio/out/ao_wasapi.h index 36428b4aea..55cf79d8e0 100755 --- a/audio/out/ao_wasapi.h +++ b/audio/out/ao_wasapi.h @@ -35,7 +35,7 @@ typedef struct wasapi_state { HANDLE threadLoop; /* Init phase */ - int init_ret; + HRESULT init_ret; HANDLE init_done; int share_mode; |