mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-25 17:09:50 -05:00
Merge pull request #1071 from kchadha/fix-mp3-edit-bug
Fix issue with sound upload and save/load
This commit is contained in:
commit
c9f30ed6ef
1 changed files with 1 additions and 0 deletions
|
@ -522,6 +522,7 @@ class VirtualMachine extends EventEmitter {
|
||||||
storage.DataFormat.WAV,
|
storage.DataFormat.WAV,
|
||||||
soundEncoding
|
soundEncoding
|
||||||
);
|
);
|
||||||
|
sound.dataFormat = storage.DataFormat.WAV;
|
||||||
sound.md5 = `${sound.assetId}.${sound.dataFormat}`;
|
sound.md5 = `${sound.assetId}.${sound.dataFormat}`;
|
||||||
}
|
}
|
||||||
// If soundEncoding is null, it's because gui had a problem
|
// If soundEncoding is null, it's because gui had a problem
|
||||||
|
|
Loading…
Reference in a new issue