summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_wasapi_utils.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-11-28 04:01:10 -0800
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:10 +0900
commit0c8a419775b549b9e041d7d01b599ad6bdaf3d7e (patch)
tree02ea6bbdf357f63676417fb2792f1d750fc10961 /audio/out/ao_wasapi_utils.h
parent885c6e5b07d02d71d54fe9ac0da1b54d3c4c3eae (diff)
downloadmpv-0c8a419775b549b9e041d7d01b599ad6bdaf3d7e.tar.bz2
mpv-0c8a419775b549b9e041d7d01b599ad6bdaf3d7e.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-xaudio/out/ao_wasapi_utils.h6
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);