summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-03-05 17:27:11 -0800
committerEric Laurent <elaurent@google.com>2012-03-05 17:27:11 -0800
commit380b70592458ebab017c6521e4b6738955ba48ba (patch)
treeb9133d09e798ef9d0b30eddc8cc0ed55b76a353d /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbd6b74ce4626c6738bec3d59f7cca95655d1288f (diff)
MediaPlayerService: fix AudioSink latency
The AudioSink latency is currently cached when the associated AudioTrack is created. However, the AudioTrack latency can change if the AudioTrack is moved from one output stream to another. The AudioPlayer must also periodically update its view of the latency as it is needed to compensate the real audio time used for A/V sync. This fixes an A/V sync problem seen when switching A2DP on and off while playing a video. Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions