summaryrefslogtreecommitdiff
path: root/libs/ui/SharedBufferStack.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2009-09-07 08:38:38 -0700
committer Eric Laurent <elaurent@google.com> 2009-09-08 22:56:07 -0700
commit96c08a69ea0b95d1d8a8edb67f73bd9548e09f16 (patch)
treeb3062ccac2f1bd12f33be481a957cd5b88579e16 /libs/ui/SharedBufferStack.cpp
parent948ef29ebacde30bc2f1283b5e6d86f2413698c4 (diff)
Fix issue 1992233: DTMF tones on Sholes is really long.
Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged. Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
Diffstat (limited to 'libs/ui/SharedBufferStack.cpp')
0 files changed, 0 insertions, 0 deletions