replicant-frameworks_native/libs
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
..
audioflinger Fix issue 2323920: Notification & A2DP audio stutter. 2009-12-22 09:06:46 -08:00
binder Modify the binder to request 1M - 2 pages instead of 1M. The backing store 2009-11-12 16:31:12 -08:00
surfaceflinger fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly 2009-12-11 00:56:10 -08:00
ui fix some aspects of [2258746] native crash in launcher2 2009-11-13 15:26:29 -08:00
utils Debugging for issue #2228381 android.view.InflateException 2009-11-20 14:26:42 -08:00