summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/Drm.h
diff options
context:
space:
mode:
authorPreetam Singh Ranawat <apranawat@codeaurora.org>2015-08-12 12:11:46 -0700
committerEric Laurent <elaurent@google.com>2015-08-26 12:41:08 -0700
commit2e17eef829f1870d9bde963a356dfb11f120a6b5 (patch)
tree97bd31cddb60843f77dcb35d073eaee6b49e2bb1 /media/libmediaplayerservice/Drm.h
parent44a63fa259233d09a4f5e2f30b498edc8ab9aff7 (diff)
downloadframeworks_av-2e17eef829f1870d9bde963a356dfb11f120a6b5.zip
frameworks_av-2e17eef829f1870d9bde963a356dfb11f120a6b5.tar.gz
frameworks_av-2e17eef829f1870d9bde963a356dfb11f120a6b5.tar.bz2
AudioSink: Fix for gapless offload playback
Gapless mode is not working for offload playback due to mismatch in flags of current track and next track to be played. AUDIO_OUTPUT_FLAG_DIRECT is added in AudioTrack flags for current track which does not match exactly with requested flags for next track. Because of this mismatch, reuse of the AudioTrack is not allowed. To fix this, update audio sink flags with requested flags and use track flags only to setPlaybackRate if AUDIO_OUTPUT_FLAG_DIRECT flag is not set. Bug: 23221273 authored-by: Preetam Singh Ranawat <apranawat@codeaurora.org> Change-Id: I52761ccd854b66a7bc218e83c9b44598771c46f7
Diffstat (limited to 'media/libmediaplayerservice/Drm.h')
0 files changed, 0 insertions, 0 deletions