mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -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
|
// Set the sound sample rate and sample count based on the
|
||||||
// the audio buffer from the audio engine since the sound
|
// the audio buffer from the audio engine since the sound
|
||||||
// gets resampled by the audio engine
|
// gets resampled by the audio engine
|
||||||
const soundBuffer = runtime.udioEngine.getSoundBuffer(soundId);
|
const soundBuffer = runtime.audioEngine.getSoundBuffer(soundId);
|
||||||
sound.rate = soundBuffer.sampleRate;
|
sound.rate = soundBuffer.sampleRate;
|
||||||
sound.sampleCount = soundBuffer.length;
|
sound.sampleCount = soundBuffer.length;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue