Error with audio on Xcode

Using latest OF and Xcode
Getting an error on this line when building my project:
FMOD_System_PlaySound(sys, FMOD_CHANNEL_FREE, sound, bPaused, &channel);

I have one sound and it is played/declared two times in the same file (each one in a different if statement).

Anyone know why and can help me?

Seems to be this?

thank you for your reply! This didn’t fix my crashes, unfortunately. I believe mine is different than that one.

please post the code for that.

Can you see if this fixes it for you?

1 Like