diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 06:02:26 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 10:48:36 -0800 |
commit | 4f208e6f68690417163418f182023cc4136c7413 (patch) | |
tree | 158cb1d06e1ca89d39d6fe1e44419ed28d5d6385 /audio/out/ao_wasapi_utils.h | |
parent | 239c880fe23fb8edf64315b54388275b7a9750ec (diff) | |
download | mpv-4f208e6f68690417163418f182023cc4136c7413.tar.bz2 mpv-4f208e6f68690417163418f182023cc4136c7413.tar.xz |
ao/wasapi: check full GUID of KSDATAFORMAT to determine float
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 135b556d12..9d5a8c7edf 100755 --- a/audio/out/ao_wasapi_utils.h +++ b/audio/out/ao_wasapi_utils.h @@ -31,6 +31,7 @@ int mp_GUID_compare(const GUID *l, const GUID *r); int mp_PKEY_compare(const PROPERTYKEY *l, const PROPERTYKEY *r); char *mp_GUID_to_str_buf(char *buf, size_t buf_size, const GUID *guid); char *mp_PKEY_to_str_buf(char *buf, size_t buf_size, const PROPERTYKEY *pkey); +#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)) int wasapi_fill_VistaBlob(wasapi_state *state); |