summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.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
commit3522c808192848ba40ffc7c602de4210266da705 (patch)
tree77b81830f0f5366bcffd939bca96a5758e56e96b /libs/ui/FramebufferNativeWindow.cpp
parente40e5507007b15035b81811a5cc2298572e732a2 (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/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions