replicant-frameworks_native/libs/audioflinger
Eric Laurent 7e2aad1e27 Fix issue 2323920: Notification & A2DP audio stutter.
Modified AudioFlinger duplicating output thread so that audio tracks are not mixed until both outputs (A2DP and hardware) have exited standby mode. This avoids to have one output far ahead of the other and audio frames dropped because the compensation mechanism cannot keep up.
Also calculate the maximum wait time in OutputTrack::write() based the on smallest frame count of all output threads instead of the frame count of the thread the OutputTrack is connected to. This avoids starving the thread with the smallest frame count by waiting too long on the other thread.
Since the frame count was reduced on hardware output to reduce latency the difference between A2DP and hardware outputs frame counts had become problematic.
Also increased the number of overflow buffers to cope with bigger timing differences among outputs.
2009-12-22 09:06:46 -08:00
..
A2dpAudioInterface.cpp Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device. 2009-10-08 12:03:51 -07:00
A2dpAudioInterface.h Fix issue 2174002: After rejecting Call when device ringtone is mute and playing music, audio is not transfered to BT device. 2009-10-08 12:03:51 -07:00
Android.mk Fix firestone build 2009-07-29 09:47:23 -07:00
AudioBufferProvider.h Add virtual destructor. 2009-07-07 11:03:13 -07:00
AudioDumpInterface.cpp Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioDumpInterface.h Improved unit test code for Audioflinger. 2009-08-07 09:32:06 -07:00
AudioFlinger.cpp Fix issue 2323920: Notification & A2DP audio stutter. 2009-12-22 09:06:46 -08:00
AudioFlinger.h Fix issue 2323920: Notification & A2DP audio stutter. 2009-12-22 09:06:46 -08:00
AudioHardwareGeneric.cpp Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioHardwareGeneric.h Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioHardwareInterface.cpp Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioHardwareStub.cpp Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioHardwareStub.h Fix getParameters() default implementation. 2009-08-04 06:17:43 -07:00
AudioMixer.cpp Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioMixer.h Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
AudioPolicyManagerGeneric.cpp Log for issue 2203561. 2009-11-03 09:33:35 -08:00
AudioPolicyManagerGeneric.h Log for issue 2203561. 2009-11-03 09:33:35 -08:00
AudioPolicyService.cpp More log for issue 2242381. 2009-11-07 01:18:20 -08:00
AudioPolicyService.h More log for issue 2242381. 2009-11-07 01:18:20 -08:00
AudioResampler.cpp
AudioResampler.h
AudioResamplerCubic.cpp
AudioResamplerCubic.h
AudioResamplerSinc.cpp
AudioResamplerSinc.h