summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Ryd <patrik.ryd@stericsson.com>2012-04-04 14:21:49 +0200
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2012-04-05 15:30:45 -0600
commit2de62b1bc9825231b3d08b0309094edc63f557fe (patch)
treeb79fdefab4c6b7618a99a131c58697444da364d7
parentb898a5656275b276bcf01ac06331a876c286a998 (diff)
downloadlibvideoeditor-linaro_android_4.0.3_snowball_mm.tar.gz
Adds dummy arguement in open function.linaro_android_4.0.3_snowball_mm
Function arguement added with dummy parameter to take care of changes done for Latency update of output devices. Change-Id: I4b301d16a0386046f2dee33a9e554ce1ed6f8d12 Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
-rwxr-xr-xlvpp/VideoEditorPlayer.cpp3
-rwxr-xr-xlvpp/VideoEditorPlayer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/lvpp/VideoEditorPlayer.cpp b/lvpp/VideoEditorPlayer.cpp
index 90a5821..37f2a51 100755
--- a/lvpp/VideoEditorPlayer.cpp
+++ b/lvpp/VideoEditorPlayer.cpp
@@ -380,7 +380,8 @@ status_t VideoEditorPlayer::VeAudioOutput::getPosition(uint32_t *position) {
status_t VideoEditorPlayer::VeAudioOutput::open(
uint32_t sampleRate, int channelCount, int format, int bufferCount,
- AudioCallback cb, void *cookie) {
+ AudioCallback cb, void *cookie,
+ LatencyCallback latencyCb) {
mCallback = cb;
mCallbackCookie = cookie;
diff --git a/lvpp/VideoEditorPlayer.h b/lvpp/VideoEditorPlayer.h
index 6b10b36..e1908b7 100755
--- a/lvpp/VideoEditorPlayer.h
+++ b/lvpp/VideoEditorPlayer.h
@@ -51,7 +51,8 @@ class VideoEditorPlayer : public MediaPlayerInterface {
virtual status_t open(
uint32_t sampleRate, int channelCount,
int format, int bufferCount,
- AudioCallback cb, void *cookie);
+ AudioCallback cb, void *cookie,
+ LatencyCallback latencyCb = NULL);
virtual void start();
virtual ssize_t write(const void* buffer, size_t size);