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
A2dpAudioInterface.h
Android.mk Use proper config to enable LVMX 2010-03-09 18:13:59 -08:00
AudioBufferProvider.h
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
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
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
AudioMixer.h
AudioPolicyManagerBase.cpp Fix issue 2416481: Support Voice Dialer over BT SCO. 2010-03-16 17:32:18 -07:00
AudioPolicyService.cpp
AudioPolicyService.h
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