3522c80819
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. |
||
---|---|---|
awt | ||
camera/libcameraservice | ||
cmds | ||
include | ||
libs | ||
opengl | ||
vpn/java/android/net/vpn | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE |