cocos2d-x 同时播放多个音效的问题
发布时间:2020-12-14 20:14:12 所属栏目:百科 来源:网络整理
导读:本文出自 “ YYBear笔记 ” 博客,请务必保留此出处 http://www.jb51.cc/article/p-ajkmvksx-hw.html cocos2d-x 同时播放多个音效的时候,会发现有的音效放不出,有的循环音效放着放着就没了 后来发现猫腻在Cocos2dxSound.java里: private static final int
本文出自 “YYBear笔记” 博客,请务必保留此出处http://www.52php.cn/article/p-ajkmvksx-hw.html private static final int MAX_SIMULTANEOUS_STREAMS_DEFAULT = 5;
本人讲此值修改为:20 Added in API level 1 This constructor was deprecated in API level 21. use Constructor. Constructs a SoundPool object with the following characteristics: Parameters
Returns
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |