replicant-frameworks_native/libs/audioflinger
Eric Laurent deea502a92 Fix isssue 2548710: Native AudioTrack resources never freed.
The problem is a bug in AudioFlinger::MixerThread::prepareTracks_l() that makes that even if the TrackHandle
is destroyed, the corresponding Track will remain active as long as frames are ready for mixing.
If the track uses shared memory (static mode) and the sound is looped, this track will play for ever.

The fix consists in removing the track from active list immediately if the track is terminated.

Change-Id: I4582aa1d981079ab79be442fb6185f5afaed5cf3
2010-03-31 12:36:34 -07:00
..
A2dpAudioInterface.cpp Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync 2010-01-26 18:40:39 -08:00
A2dpAudioInterface.h Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync 2010-01-26 18:40:39 -08:00
Android.mk Use proper config to enable LVMX 2010-03-09 18:13:59 -08:00
AudioBufferProvider.h Add virtual destructor. 2009-07-07 11:03:13 -07:00
AudioDumpInterface.cpp Issue 2071329: audio track is shorter than video track for video capture on sholes 2010-03-02 08:20:13 -08:00
AudioDumpInterface.h Issue 2071329: audio track is shorter than video track for video capture on sholes 2010-03-02 08:20:13 -08:00
AudioFlinger.cpp Fix isssue 2548710: Native AudioTrack resources never freed. 2010-03-31 12:36:34 -07:00
AudioFlinger.h Issue 2071329: audio track is shorter than video track for video capture on sholes 2010-03-02 08:20:13 -08:00
AudioHardwareGeneric.cpp Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V sync 2010-01-26 18:40:39 -08:00
AudioHardwareGeneric.h Issue 2071329: audio track is shorter than video track for video capture on sholes 2010-03-02 08:20:13 -08:00
AudioHardwareInterface.cpp Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioHardwareStub.cpp Initial version of LifeVibes integration. 2010-03-09 14:16:01 -08:00
AudioHardwareStub.h Issue 2071329: audio track is shorter than video track for video capture on sholes 2010-03-02 08:20:13 -08: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
AudioPolicyManagerBase.cpp Fix issue 2416481: Support Voice Dialer over BT SCO. 2010-03-16 17:32:18 -07:00
AudioPolicyService.cpp Create base class for audio policy manager. 2010-01-13 09:25:13 -08:00
AudioPolicyService.h Create base class for audio policy manager. 2010-01-13 09:25:13 -08:00
AudioResampler.cpp
AudioResampler.h Initial version of LifeVibes integration. 2010-03-09 14:16:01 -08:00
AudioResamplerCubic.cpp
AudioResamplerCubic.h
AudioResamplerSinc.cpp
AudioResamplerSinc.h