Commit Graph

4 Commits

Author SHA1 Message Date
minggo
0386bed212 fix audio code format (#3212)
* fix audio code format

* format base files
2021-01-13 13:38:07 +08:00
James Chen
2e3883f097 [Android] Fixed compilation error while using APP_PLATFORM >= 22. (#1012)
* [Android] Fixed compilation error while using APP_PLATFORM >= 22.

* Don't use deprecated createUint8TypedArray.
2017-11-23 15:19:37 +08:00
James Chen
fc98b4bdc0 Sync with cocos2d-x v3 branch ddb4dc8 commit. 2017-04-24 10:49:02 +08:00
James Chen
1ffd82c4a3 [Android] Decodes mp3 & ogg audio file by the libaries in Android 7.1 source code. Benefit:
* Avoids crashes on some specific android devices (e.g. Red Mi Note4) while decoding audio file in multi-threads.
* Improves performance of decoding, 2x faster
2017-01-09 17:45:55 +08:00