diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2015-11-24 04:25:01 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2015-11-24 04:42:37 -0800 |
commit | 00b7fb30237365a530b47d451833f9b53b2bf6b9 (patch) | |
tree | 4d80b1a06b015826599b656f0a6d34271e91af06 /audio/out/ao_wasapi_utils.h | |
parent | 4f103b209312ca8fa1471fc09ebb15c273f818b8 (diff) | |
download | mpv-00b7fb30237365a530b47d451833f9b53b2bf6b9.tar.bz2 mpv-00b7fb30237365a530b47d451833f9b53b2bf6b9.tar.xz |
ao_wasapi: get rid of Vistablob hack
This was required to work around XP linking issues and is no longer
required.
Diffstat (limited to 'audio/out/ao_wasapi_utils.h')
-rwxr-xr-x | audio/out/ao_wasapi_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi_utils.h b/audio/out/ao_wasapi_utils.h index 5ac2d3efba..deaffd77e4 100755 --- a/audio/out/ao_wasapi_utils.h +++ b/audio/out/ao_wasapi_utils.h @@ -33,6 +33,7 @@ char *mp_HRESULT_to_str_buf(char *buf, size_t buf_size, HRESULT hr); #define mp_GUID_to_str(guid) mp_GUID_to_str_buf((char[40]){0}, 40, (guid)) #define mp_PKEY_to_str(pkey) mp_PKEY_to_str_buf((char[42]){0}, 42, (pkey)) #define mp_HRESULT_to_str(hr) mp_HRESULT_to_str_buf((char[60]){0}, 60, (hr)) +#define mp_LastError_to_str() mp_HRESULT_to_str(HRESULT_FROM_WIN32(GetLastError())) bool wasapi_fill_VistaBlob(wasapi_state *state); |