summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2010-03-31 12:21:17 -0700
committer Jean-Baptiste Queru <jbq@google.com> 2010-05-18 14:18:57 -0700
commit558eec80119a8dbd16304d59ab0d66b27d225f95 (patch)
tree2741e94bc73194fc8a1976b94dffda6797cf15f1 /libs/ui/FramebufferNativeWindow.cpp
parent9addb68e3be6665b85915c979dbc832c5d36935b (diff)
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
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions