Im trying to add a play/pause funtion to my .mp3
here is my code so far:
local backgroundMusic = audio.loadStream(“theme.mp3”)
local backgroundMusicChannel = audio.play( backgroundMusic )
any help is appreciated. thank you.
Im trying to add a play/pause funtion to my .mp3
here is my code so far:
local backgroundMusic = audio.loadStream(“theme.mp3”)
local backgroundMusicChannel = audio.play( backgroundMusic )
any help is appreciated. thank you.
Hello @faygojuggalo14,
Please review the entire audio guide, which shows the various methods that you can use with audio:
http://docs.coronalabs.com/guide/media/audioSystem/index.html
Best regards,
Brent
Hello @faygojuggalo14,
Please review the entire audio guide, which shows the various methods that you can use with audio:
http://docs.coronalabs.com/guide/media/audioSystem/index.html
Best regards,
Brent