axmol/cocos/audio/android
James Chen 5620e30f32 fixed #17922: [android] AudioEngine may crash while audio's over and stop state is triggered at the same time. (#17923)
* fixed #17922: [android] AudioEngine may crash while audio's over and stop state is triggered at the same time.
The Pull Request #17748 didn't resolve the issue since _track->getPrevState will be wrong while in scheduler callback. We need to capture it in lambda.
My Pull Request also merges PR #17716 to make filePath captured by lambda.

* Adds missing log tag in AudioEngine-inl.cpp
2017-06-13 17:44:04 +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 [big refactoring] Audio latency fix for Android. Support to preload effects on Android now. (#15875) 2016-07-18 10:22:40 +08:00
jni CocosDenshionTest, unload doesn't work for android 5.0.1 devices (#17662) 2017-04-10 10:14:47 +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 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
AudioEngine-inl.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
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 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.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 issue #17503: Avoid crash if initializing audio fails. (#17505) 2017-03-15 16:46:19 +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