Hello, I am creating an game, but I have problems with audio playback on android.
Use the command to the audio
> CocosDenshion::SimpleAudioEngine::sharedEngine()->preloadBackgroundMusic(“level1/sounds/background.ogg”);
> CocosDenshion::SimpleAudioEngine::sharedEngine()->preloadEffect(“level1/sounds/shot.ogg”);
but the application closes on these lines …
that he needs to command or need some library …
I tested with ogg and wav audio