I’ve been adding sound and music to the game, and some work and some don’t. They are all .wav format and I get this error for at least 3 sound/music files while the others work fine. File names match. Any ideas?
23:49:11.587 WARNING: C:\Users\Didier\Documents\Corona Projects\SpeedyBird\mainGame.lua:505: audio.loadStream() failed to create stream 'Inspired (Happy-Pop).wav' 23:49:14.508 WARNING: C:\Users\Didier\Documents\Corona Projects\SpeedyBird\restart.lua:106: audio.loadSound() failed to create sound 'menuSelect.wav' 23:49:14.518 WARNING: C:\Users\Didier\Documents\Corona Projects\SpeedyBird\restart.lua:107: audio.loadStream() failed to create stream 'funkyRooster.wav'
Some of the code:
menuSelect = audio.loadSound("menuSelect.wav") restartSound = audio.loadStream("funkyRooster.wav")
audio.play(restartSound, {channel = 2})
audio.stop(1) audio.stop(2) audio.dispose(menuSelect) audio.dispose(restartSound) menuSelect = nil restartSound = nil