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. |
||
---|---|---|
.. | ||
A2dpAudioInterface.cpp | ||
A2dpAudioInterface.h | ||
Android.mk | ||
AudioBufferProvider.h | ||
AudioDumpInterface.cpp | ||
AudioDumpInterface.h | ||
AudioFlinger.cpp | ||
AudioFlinger.h | ||
AudioHardwareGeneric.cpp | ||
AudioHardwareGeneric.h | ||
AudioHardwareInterface.cpp | ||
AudioHardwareStub.cpp | ||
AudioHardwareStub.h | ||
AudioMixer.cpp | ||
AudioMixer.h | ||
AudioPolicyManagerGeneric.cpp | ||
AudioPolicyManagerGeneric.h | ||
AudioPolicyService.cpp | ||
AudioPolicyService.h | ||
AudioResampler.cpp | ||
AudioResampler.h | ||
AudioResamplerCubic.cpp | ||
AudioResamplerCubic.h | ||
AudioResamplerSinc.cpp | ||
AudioResamplerSinc.h |