From 2de62b1bc9825231b3d08b0309094edc63f557fe Mon Sep 17 00:00:00 2001 From: Patrik Ryd Date: Wed, 4 Apr 2012 14:21:49 +0200 Subject: Adds dummy arguement in open function. 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 Committed-by: Mathieu Poirier --- lvpp/VideoEditorPlayer.cpp | 3 ++- lvpp/VideoEditorPlayer.h | 3 ++- 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); -- cgit v1.2.3