OSDN Git Service

update offloaded audio track sampling rate
authorEric Laurent <elaurent@google.com>
Sat, 27 Jul 2013 00:16:50 +0000 (17:16 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 5 Mar 2014 20:17:54 +0000 (12:17 -0800)
commitd0115d8c4db2f337030dea706bc0a434c4a03ed6
tree239450c60bc4cb8519edeb8985dbc601fe51c652
parent7e92abeafb184e8a34213d7149592e95a72601b0
update offloaded audio track sampling rate

AudioPlayer must read the sampling rate from offloaded audio sinks
whenever a new time position is computed as the decoder can update
the sampling rate on the fly.

Bug: 12823955.

Change-Id: I997e5248cfd4017aeceb4e11689324ded2a5bc88
include/media/AudioTrack.h
include/media/MediaPlayerInterface.h
include/media/stagefright/AudioPlayer.h
libvideoeditor/lvpp/VideoEditorPlayer.cpp
libvideoeditor/lvpp/VideoEditorPlayer.h
media/libmedia/AudioTrack.cpp
media/libmediaplayerservice/MediaPlayerService.cpp
media/libmediaplayerservice/MediaPlayerService.h
media/libstagefright/AudioPlayer.cpp