I keep getting an error in the console which states:
- Warning: Passed explicit nil to audio.stop. This is now treated as a no-op. To stop all channels, call audio.stop() with no parameters.
I create and load my audio like so:
bossMusic = audio.loadSound( "Sounds/Level Choose.mp3" )
bossMusic = audio.play( bossMusic )
audio.setVolume( 0.60, { bossMusic } )
Then when I need to change scenes I’m trying to remove the audio like so:
audio.stop ( bossMusic )
audio.dispose( bossMusic )
bossMusic = nil
However I keep getting the same error I mentioned in the console, I can’t really understand what I’m doing wrong? [import]uid: 107915 topic_id: 35341 reply_id: 335341[/import]