I’m making a platformer and I want to have a .wav sound effect to play when I jump.
I tried both SimpleAudioEngine
and AudioEngine
and both didn’t work.
Thank you.
what is the error ? or issue you are facing?
when i jump (which is when the sound effect is supposed to play) it sometimes says something like V/AudioPlayer (64): ~AudioPlayer() (0BFC9088), id=61
V/AudioPlayer (78): AudioPlayer::destroy begin, id=61
V/AudioPlayer (123): Before alSourceStop
V/AudioPlayer (125): Before alSourcei
V/AudioPlayer (131): AudioPlayer::destroy end, id=61
or D/AudioEngine-Win32 (275): AudioEngineImpl::_play2d, cache was destroyed or not ready!
please share code