replicant-frameworks_native/libs/audioflinger
Eric Laurent 558eec8011 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: Iaa78a91e78d27f5c982218cc55e81702f1610ab2
2010-05-18 14:18:57 -07:00
..
A2dpAudioInterface.cpp Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device. 2009-10-08 12:03:51 -07:00
A2dpAudioInterface.h Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device. 2009-10-08 12:03:51 -07:00
Android.mk Fix firestone build 2009-07-29 09:47:23 -07:00
AudioBufferProvider.h
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 isssue 2548710: Native AudioTrack resources never freed. 2010-05-18 14:18:57 -07:00
AudioFlinger.h Fix issue 2323920: Notification & A2DP audio stutter. 2009-12-22 09:06:46 -08: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 Log for issue 2203561. 2009-11-03 09:33:35 -08:00
AudioPolicyManagerGeneric.h Log for issue 2203561. 2009-11-03 09:33:35 -08:00
AudioPolicyService.cpp More log for issue 2242381. 2009-11-07 01:18:20 -08:00
AudioPolicyService.h More log for issue 2242381. 2009-11-07 01:18:20 -08:00
AudioResampler.cpp
AudioResampler.h
AudioResamplerCubic.cpp
AudioResamplerCubic.h
AudioResamplerSinc.cpp
AudioResamplerSinc.h