axmol/cocos/audio/android
James Chen d21af3b981 Some fixes after using ndk r16 clang to build android projects (#18531)
* [android] Fixes warning in UrlAudioPlayer.cpp and CCUserDefault-android.cpp

* Don't write 'using namespace std;' in header files.

* Uses std::unordered_map instead of std::map for Particle3D module.

* Updates external/config.json to v3-deps-141

* Continue to replace `gnustl_static` to `c++_static` for templates and test projects.

* Updates CCConsole.h/.cpp to resolve the following issue on Android:

jni/../../../../../cocos/base/CCConsole.cpp:321:28:   required from here
/Users/james/Software/android/android-sdk/ndk-bundle/sources/cxx-stl/llvm-libc++/include/utility:506:63: error: incomplete type 'std::__ndk1::is_move_assignable<cocos2d::Console::Command>' used in nested name specifier
                         is_move_assignable<first_type>::value &&
                                                               ^
make: *** [obj/local/arm64-v8a/objs-debug/cocos2dx_internal_static/base/CCConsole.o] Error 1

* Fixes a memory leak while addCommand and other minor changes.

* Updates tolua/cocos2dx.ini, don't bind Console::Command

* Adds CC_DLL for Console::Command

* Reverts tolua/cocos2dx.ini and ignore Console::[add Command addSubCommand getSubCommand delSubCommand].

* Ignores Console::getCommand.
2017-12-05 13:35:16 +08:00
..
audio_utils [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
cutils Fixes compilation errors for android audio module while building with x86 arch. (#18150) 2017-08-22 15:13:08 +08:00
jni Add comments for cddandroidAndroidJavaEngine.h (#18513) 2017-11-27 17:09:17 +08:00
utils Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
Android.mk [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AssetFd.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
AssetFd.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
AudioBufferProvider.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioDecoder.cpp [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoder.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderMp3.cpp issue #17503: Avoid crash if initializing audio fails. (#17505) 2017-03-15 16:46:19 +08:00
AudioDecoderMp3.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderOgg.cpp issue #17503: Avoid crash if initializing audio fails. (#17505) 2017-03-15 16:46:19 +08:00
AudioDecoderOgg.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderProvider.cpp [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderProvider.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderSLES.cpp [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderSLES.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderWav.cpp [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioDecoderWav.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioEngine-inl.cpp [ci skip]fix android AudioEngine Crash (#18124) 2017-09-01 10:16:04 +08:00
AudioEngine-inl.h [ci skip]fix android AudioEngine Crash (#18124) 2017-09-01 10:16:04 +08:00
AudioMixer.cpp [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioMixer.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioMixerController.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
AudioMixerController.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
AudioMixerOps.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioPlayerProvider.cpp fixed #17413: [Android] AudioEngine::play2d may still wait 2 seconds if preload is too fast. (#17414) 2017-02-27 15:11:39 +08:00
AudioPlayerProvider.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
AudioResampler.cpp get sdk version from java (#16546) 2016-09-12 09:49:39 +08:00
AudioResampler.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioResamplerCubic.cpp [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioResamplerCubic.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
AudioResamplerPublic.h [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
CCThreadPool.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
CCThreadPool.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
IAudioPlayer.h fixed #17685: [android] Audio in game couldn't be mute while a ring or a call is coming (#17686) 2017-04-13 10:44:08 +08:00
ICallerThreadUtils.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
IVolumeProvider.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
OpenSLHelper.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmAudioPlayer.cpp fixed #17922: [android] AudioEngine may crash while audio's over and stop state is triggered at the same time. (#17923) 2017-06-13 17:44:04 +08:00
PcmAudioPlayer.h fixed #17685: [android] Audio in game couldn't be mute while a ring or a call is coming (#17686) 2017-04-13 10:44:08 +08:00
PcmAudioService.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmAudioService.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmBufferProvider.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmBufferProvider.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmData.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
PcmData.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
Track.cpp fixed #17685: [android] Audio in game couldn't be mute while a ring or a call is coming (#17686) 2017-04-13 10:44:08 +08:00
Track.h fixed #17685: [android] Audio in game couldn't be mute while a ring or a call is coming (#17686) 2017-04-13 10:44:08 +08:00
UrlAudioPlayer.cpp Some fixes after using ndk r16 clang to build android projects (#18531) 2017-12-05 13:35:16 +08:00
UrlAudioPlayer.h fixed #17685: [android] Audio in game couldn't be mute while a ring or a call is coming (#17686) 2017-04-13 10:44:08 +08:00
audio.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
ccdandroidUtils.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
ccdandroidUtils.h Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
cddSimpleAudioEngine.cpp Update license to 2017 (#17362) 2017-02-14 14:36:57 +08:00
mp3reader.cpp Bug in mp3reader.cpp (#18476) 2017-11-21 16:16:25 +08:00
mp3reader.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
tinysndfile.cpp [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00
tinysndfile.h [Android] Software decoding while preloading audio files to avoid some crashes on some specific android devices, and it’s 5x - 15x faster than the old implementation. (#17233) 2017-02-16 16:23:10 +08:00