replicant-frameworks_native/libs/audioflinger
Eric Laurent f5aba82cb7 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
..
A2dpAudioInterface.cpp Fix problem in A2DP interface closeOutputStream(). 2009-08-04 07:43:10 -07:00
A2dpAudioInterface.h Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
Android.mk Fix firestone build 2009-07-29 09:47:23 -07:00
AudioBufferProvider.h Add virtual destructor. 2009-07-07 11:03:13 -07:00
AudioDumpInterface.cpp Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioDumpInterface.h Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioFlinger.cpp Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing. 2009-08-11 09:43:09 -07:00
AudioFlinger.h Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing. 2009-08-11 09:43:09 -07:00
AudioHardwareGeneric.cpp Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioHardwareGeneric.h Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioHardwareInterface.cpp Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioHardwareStub.cpp Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioHardwareStub.h Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioMixer.cpp Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioMixer.h Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioPolicyManagerGeneric.cpp Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioPolicyManagerGeneric.h Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioPolicyService.cpp Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not use pointers as handles to inputs and outputs. 2009-08-07 00:27:19 -07:00
AudioPolicyService.h Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not use pointers as handles to inputs and outputs. 2009-08-07 00:27:19 -07:00
AudioResampler.cpp
AudioResampler.h
AudioResamplerCubic.cpp
AudioResamplerCubic.h
AudioResamplerSinc.cpp
AudioResamplerSinc.h