diff options
-rw-r--r-- | xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp index c76b612307..b7f319ed94 100644 --- a/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp +++ b/xbmc/cores/AudioEngine/Engines/CoreAudio/CoreAudioHardware.cpp @@ -329,7 +329,7 @@ void CCoreAudioHardware::GetOutputDeviceName(std::string& name) if (ret != noErr) return; - const char *cstr = CFStringGetCStringPtr(theDeviceName, kCFStringEncodingUTF8); + const char *cstr = CFStringGetCStringPtr(theDeviceName, CFStringGetSystemEncoding()); if (cstr) name = cstr; CFRelease(theDeviceName); |