summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-12-07 10:53:10 -0800
committerEric Laurent <elaurent@google.com>2009-12-07 12:30:22 -0800
commitfed9382a6a5a1d81c513b028da11bb6ca372a00c (patch)
treeb4ce2b236ca408f9f1ac1701912b1e686a2d6796 /opengl/tests/gl_basic/gl_basic.cpp
parent0aa2563bb75fe16926575d08f16a49951bd018ef (diff)
Fix issue 2306779: Runtime restart - Init failed at android.media.ToneGenerator.
The ToneGenerator failed to initialize because no more tracks were available in AudioFlinger mixer. All tracks were used because the duplicating output was failing to free the tracks on audio hardware output mixer when exiting due to a misplaced test on output activity: output tracks where only freed if the duplicating output was active when exiting. The fix consists in freeing the output tracks when the duplicating thread is destroyed without condition.
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions