mirror of
https://github.com/storytold/RuntimeAudioImporter.git
synced 2026-11-20 09:00:47 +01:00
Solving a minor wave padding issue
This commit is contained in:
1 parent
4ebebe268f
commit
ce9fa5692a
1 file changed
+1
-1
+1
-1
@@ -227,7 +227,7 @@ class USoundWave* URuntimeAudioImporterLibrary::GetSoundWaveObject(const uint8*
|
||||
// RawPCMDataSize = WaveDataSize - 44 bytes (the header of the WAV data) = SampleDataSize
|
||||
sw->RawPCMDataSize = WaveInfo.SampleDataSize;
|
||||
sw->RawPCMData = (uint8*)FMemory::Malloc(sw->RawPCMDataSize);
|
||||
FMemory::Memmove(sw->RawPCMData, WaveData, WaveDataSize);
|
||||
FMemory::Memmove(sw->RawPCMData, WaveData, sw->RawPCMDataSize);
|
||||
|
||||
// Callback Dispatcher OnProgress (not completely accurate implementation)
|
||||
OnProgress_Internal(90);
|
||||
|
||||
Reference in new issue
Block a user