summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2020-02-25 22:40:23 -0600
committerrcombs <rcombs@rcombs.me>2020-06-17 21:02:01 -0500
commitb020cb028eaab44823951ead4984d48321f38ee9 (patch)
treec6b000323912af11f27ed924d3bb4e2151322db8
parentae5ac7e90a96c02f66b3eb5b63ed960bfffa3fdb (diff)
downloadmpv-b020cb028eaab44823951ead4984d48321f38ee9.tar.bz2
mpv-b020cb028eaab44823951ead4984d48321f38ee9.tar.xz
ao_coreaudio: fix getting non-ASCII device descriptions
-rw-r--r--audio/out/ao_coreaudio_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_coreaudio_utils.h b/audio/out/ao_coreaudio_utils.h
index cd1f5f282f..e52c82d365 100644
--- a/audio/out/ao_coreaudio_utils.h
+++ b/audio/out/ao_coreaudio_utils.h
@@ -26,7 +26,7 @@
#include "audio/out/ao.h"
#include "internal.h"
-#define CA_CFSTR_ENCODING kCFStringEncodingASCII
+#define CA_CFSTR_ENCODING kCFStringEncodingUTF8
CFStringRef cfstr_from_cstr(char *str);
char *cfstr_get_cstr(CFStringRef cfstr);