iPhone – How do IPOD music playback when running in my application?

I am using SimpleAudioEngine to play my sound, I want to know if there is any way to check if iPod music is playing when the application starts. If so, I want it to continue playing . I began to think that it might be called a simple engine, because it does not allow such functions, AVAudioEngine does it here…

Thanks:)

You should check the official Audio Session Programming Guide and make sure you are setting the correct session category. You need to select the category that allows audio to be mixed with iPod audio.

div>

I am using SimpleAudioEngine to play my sound, and I want to know if there is any way to check if iPod music is playing when the app starts. If so, I want it to continue playing. I I began to think that it might be called a simple engine, because it does not allow such a function, AVAudioEngine does it here…

Thank you:)

You should check the official Audio Session Programming Guide and make sure you are setting the correct session category. You need to select the category that allows audio to be mixed with iPod audio.

Leave a Comment

Your email address will not be published.