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-16 12:25:31 -0700
commitdc63f3fe40a242c70d84c492c8c5f945b2269762 (patch)
treeb6c5eb287541e7366a59ef7850993eaa66d10df2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0df689495a02c4a34943330099404bd8860981c9 (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 Conflicts: media/libmediaplayerservice/MediaPlayerService.cpp
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions