java - Stop background music for cocos2d Android -


to stop background music after pressing "playgame" button in cocos2d-android, have given soundengine.sharedengine().playsound(context, r.raw.rock, true); since not find code stop background music, have given pause method, once resume game again music starts, need abort music after splashscreen itself, have search not find cocos2d-android game engine, please me.

on press of play button use below line :

soundengine.sharedengine().pausesound(); 

Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -