摘要:
背景音乐的播放与停止实例代码如下:[html]view plaincopySimpleAudioEngine::getInstance()->playBackgroundMusic("sound/Jazz.mp3",true);SimpleAudioEngine::getInstance()->st... 阅读全文
posted @ 2014-08-04 12:43
智捷iOS课堂
阅读(312)
评论(0)
推荐(0)
摘要:
Cocos2d-x提供了一个音频CocosDenshion引擎,CocosDenshion引擎可以独立于Cocos2d-x单独使用,CocosDenshion引擎本质上封装了OpenAL音频处理库。具体使用的API是SimpleAudioEngine。SimpleAudioEngine有几个常用的函... 阅读全文
posted @ 2014-08-04 12:21
智捷iOS课堂
阅读(338)
评论(0)
推荐(0)
浙公网安备 33010602011771号