mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
ao_coreaudio: fix getting non-ASCII device descriptions
This commit is contained in:
parent
4991ffa859
commit
fcf7e1f83c
@ -26,7 +26,7 @@
|
|||||||
#include "audio/out/ao.h"
|
#include "audio/out/ao.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
||||||
#define CA_CFSTR_ENCODING kCFStringEncodingASCII
|
#define CA_CFSTR_ENCODING kCFStringEncodingUTF8
|
||||||
|
|
||||||
CFStringRef cfstr_from_cstr(char *str);
|
CFStringRef cfstr_from_cstr(char *str);
|
||||||
char *cfstr_get_cstr(CFStringRef cfstr);
|
char *cfstr_get_cstr(CFStringRef cfstr);
|
||||||
|
Loading…
Reference in New Issue
Block a user