diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2017-07-12 23:37:45 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2017-08-07 14:33:03 -0700 |
commit | bee602da8287ba1ccf80a44f7c826429927bfc54 (patch) | |
tree | 64fddfd0ac6289a4103d950ce7cfb5280febce71 /audio/audio.c | |
parent | 61c8a147b5fef7337ba4e68673d521d5479e49e5 (diff) | |
download | mpv-bee602da8287ba1ccf80a44f7c826429927bfc54.tar.bz2 mpv-bee602da8287ba1ccf80a44f7c826429927bfc54.tar.xz |
ao_wasapi: return bool instead of HRESULT from thread_init
Any bad HRESULTs should have been printed already and lots of failure modes
don't have an HRESULT leading to awkward hr = E_FAIL business.
This also checks the exit status of GetBufferSize in the align hack. A final
fatal message is added if either of the retry hacks fail.
Diffstat (limited to 'audio/audio.c')
0 files changed, 0 insertions, 0 deletions