Cocos2dx3.3 AudioEngine 在android上偶尔无声音
用3.3新的声音引擎接口:AudioEngine::play2d ,在安卓上播放音效,开始是有声音的,有时候突然就没有声音了,log如下:
12-23 12:58:49.335: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.343: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.343: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.367: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.367: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.406: D/GC(16563): <tid=16583> gcoOS_Open: create file /proc/16563/cmdline failed.
12-23 12:58:49.406: D/v_gal(16563): gcmONERROR: status=-7(gcvSTATUS_GENERIC_IO) @ gcoOS_DetectProcessByNamePid(7198)
12-23 12:58:49.429: D/cocos2d-x debug info(16563): int cocos2d::experimental::AudioEngineImpl::play2d(const string&, bool, float),243 message:create player for GetGold.mp3 fail
请问是怎么回事?谢谢!!