summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-03-31 12:21:17 -0700
committerJean-Baptiste Queru <jbq@google.com>2010-05-18 14:18:57 -0700
commit42fb2ce98ae9d73b1f2a57246a1e1ccc63324fd0 (patch)
treeacbb83908538da74400f30c64f747d86230ee3f7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parente25863c9093d3f60a1f6feab1d17d38946a8d020 (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 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions