mirror of
https://github.com/storytold/RuntimeAudioImporter.git
synced 2026-10-28 09:07:39 +00:00
Character encoding changes
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ bool URuntimeAudioImporterLibrary::ExportSoundWaveToFile(USoundWave* SoundWaveTo
|
|||||||
format.sampleRate = SampleRate;
|
format.sampleRate = SampleRate;
|
||||||
format.bitsPerSample = 16;
|
format.bitsPerSample = 16;
|
||||||
|
|
||||||
if (!drwav_init_file_write_w(&wavEncode, (wchar_t*)filePath.GetCharArray().GetData(), &format, &allocationCallbacksDecoding)) {
|
if (!drwav_init_file_write_w(&wavEncode, (wchar_t*)PathToExport.GetCharArray().GetData(), &format, &allocationCallbacksDecoding)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user