iOS Fmod system init stop music that is playing with other app


(Jared) #1

Hello, I have a problem, it disturbs me several days, anyone to help?
I am enjoying music with my iPad, then i start my app, music just has been stopped. I found that when my app goes into

result = system->init(32, FMOD_INIT_NORMAL, extradriverdata);

then music that is playing just stop.
What can i do to avoid this happening ?


(リチャード清水) #2

Hi Jared,

FMOD doesn’t need any special settings at init, background app sounds are actually handled by the iOS AudioSessions and the info.plist.

You can find info on how to do this in our docs:

http://www.fmod.org/documentation/#content/generated/platform_ios/basics.html

Thanks,
Richard