Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17098

Crash on AudioEngine trying to play OGG sound - Cocos2d-x 4.0

$
0
0

I am making a magic game and I am trying to play an OGG sound. If I use AudioEngine::play2d("spellCast.ogg", false, 1.0f, nullptr); my game freezes and doesn’t play the sound. If I do the same, except with an MP3 file AudioEngine::play2d("menuTheme.mp3", true, 1.0f, nullptr);, it works file

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 17098

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>