mirror of
https://github.com/storytold/RuntimeAudioImporter.git
synced 2026-11-24 19:00:54 +01:00
Changing ANSI encoding to UTF8
This commit is contained in:
1 parent
826de9c404
commit
ee2088922f
1 file changed
+1
-1
+1
-1
@@ -136,7 +136,7 @@ URuntimeAudioImporterLibrary* URuntimeAudioImporterLibrary::GetUSoundWaveFromAud
|
||||
OnResult_Internal(nullptr, Status);
|
||||
}
|
||||
else {
|
||||
if (TranscodeAudioFileToPCMData(TCHAR_TO_ANSI(*filePath), Format, Status, framesToWrite, pSampleData, channels, sampleRate) == false) {
|
||||
if (TranscodeAudioFileToPCMData(TCHAR_TO_UTF8(*filePath), Format, Status, framesToWrite, pSampleData, channels, sampleRate) == false) {
|
||||
// Callback Dispatcher OnResult
|
||||
OnResult_Internal(nullptr, Status);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user