From 239c880fe23fb8edf64315b54388275b7a9750ec Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 28 Nov 2014 04:01:10 -0800 Subject: ao/wasapi: expose GUID and PKEY convenience functions Give them the prefix mp_ and make them nonstatic. --- audio/out/ao_wasapi_utils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'audio/out/ao_wasapi_utils.h') 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); -- cgit v1.2.3