Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Audio Bug? Sound not looping on iOS fine on Android — Gideros Forum

Audio Bug? Sound not looping on iOS fine on Android

amaximovamaximov Member
edited August 2013 in General questions
I am trying to make some background music loop endlessly through my game using this code:
local BackgroundSound = Sound.new("Sounds/BackgroundMusic.mp3")
local BackgroundChannel = BackgroundSound:play()
BackgroundChannel:setVolume(0.25)
BackgroundChannel:setLooping(true)
This works just fine on iOS and Android UNTIL you suspend and restart the app. Android restarts/resumes playing the sound while iOS does not. On iOS the sounds just stops entirely after resuming the app.

Comments

Sign In or Register to comment.