mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Fix typo.
This commit is contained in:
parent
dca9270730
commit
e71e51866f
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const loadSoundFromAsset = function (sound, soundAsset, runtime) {
|
|||
// Set the sound sample rate and sample count based on the
|
||||
// the audio buffer from the audio engine since the sound
|
||||
// gets resampled by the audio engine
|
||||
const soundBuffer = runtime.udioEngine.getSoundBuffer(soundId);
|
||||
const soundBuffer = runtime.audioEngine.getSoundBuffer(soundId);
|
||||
sound.rate = soundBuffer.sampleRate;
|
||||
sound.sampleCount = soundBuffer.length;
|
||||
|
||||
|
|
Loading…
Reference in a new issue