mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
4e79585fd0
because with the current implementation the audio needs to be preload and at least be played one time to get the audio id which is needed to get the audio duration with the current getDuration API. I've describes the problem in detail here: https://discuss.cocos2d-x.org/t/audioengine-interface-improvement/34034