Go to file
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
awt Add correct copyright headers to multiple files 2010-03-11 18:22:10 -08:00
camera Still do dump() if we cannot get mServiceLock for a while. 2010-03-05 15:21:02 -08:00
cmds keystore: rephrase the comment to make the usage more clear. 2010-03-17 16:31:20 +08:00
common Add GoogleLogTags that includes event log tags used by Google apps 2010-03-18 08:51:36 -07:00
include fix [2545826] calling into gralloc with external lock held 2010-03-25 14:34:49 -07:00
libs Fix isssue 2548710: Native AudioTrack resources never freed. 2010-03-31 12:36:34 -07:00
opengl Fix Android's glEGLImageTargetRenderbufferOES() wrapper 2010-03-29 15:12:19 -07:00
vpn DO NOT MERGE 2010-03-29 18:12:24 -07:00
MODULE_LICENSE_APACHE2
NOTICE