Fix typo.

This commit is contained in:
Karishma Chadha 2018-04-13 11:28:04 -04:00
parent dca9270730
commit e71e51866f

View file

@ -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;