diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 04:01:10 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-28 10:48:36 -0800 |
commit | 239c880fe23fb8edf64315b54388275b7a9750ec (patch) | |
tree | ab46ddd6882c8a209af181eb004dc86fc820b619 /audio/out/ao_wasapi_utils.h | |
parent | e2bc1c5f177519a7a6639718c59839bd1f4b2c7a (diff) | |
download | mpv-239c880fe23fb8edf64315b54388275b7a9750ec.tar.bz2 mpv-239c880fe23fb8edf64315b54388275b7a9750ec.tar.xz |
ao/wasapi: expose GUID and PKEY convenience functions
Give them the prefix mp_ and make them nonstatic.
Diffstat (limited to 'audio/out/ao_wasapi_utils.h')
-rwxr-xr-x | audio/out/ao_wasapi_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi_utils.h b/audio/out/ao_wasapi_utils.h index 24d8daffbc..135b556d12 100755 --- a/audio/out/ao_wasapi_utils.h +++ b/audio/out/ao_wasapi_utils.h @@ -27,6 +27,12 @@ #include "ao.h" #include "internal.h" +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_PKEY_to_str(pkey) mp_PKEY_to_str_buf((char[42]){0}, 42, (pkey)) + int wasapi_fill_VistaBlob(wasapi_state *state); const char *wasapi_explain_err(const HRESULT hr); |