0e49d35fa4
This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms). - The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions. - AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing. - AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time. |
||
---|---|---|
.. | ||
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 |