summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/lvpp/VideoEditorPlayer.h
diff options
context:
space:
mode:
authorRajneesh Chowdury <rajneeshc@google.com>2011-02-21 15:43:33 -0800
committerRajneesh Chowdury <rajneeshc@google.com>2011-02-22 13:42:26 -0800
commit1c97d9ab52a288d24ea54499de435277cc1a3d68 (patch)
treed15a87a64ff1cf292d4d0704f483cb1c61ede0c7 /libvideoeditor/lvpp/VideoEditorPlayer.h
parent7e006bd24cccffb9c9fd48fd3b2709b6639bc5f1 (diff)
downloadframeworks_av-1c97d9ab52a288d24ea54499de435277cc1a3d68.zip
frameworks_av-1c97d9ab52a288d24ea54499de435277cc1a3d68.tar.gz
frameworks_av-1c97d9ab52a288d24ea54499de435277cc1a3d68.tar.bz2
Fix for 3369917 Audio skips at clip edit points
Change-Id: Iba66585cc2e679475d8db529d6113586b58e626e
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorPlayer.h')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPlayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.h b/libvideoeditor/lvpp/VideoEditorPlayer.h
index c61e33a..da00ca5 100755
--- a/libvideoeditor/lvpp/VideoEditorPlayer.h
+++ b/libvideoeditor/lvpp/VideoEditorPlayer.h
@@ -23,14 +23,14 @@
#include "M4xVSS_API.h"
#include "VideoEditorMain.h"
#include "VideoEditorTools.h"
-
+#include "VideoEditorAudioPlayer.h"
namespace android {
struct PreviewPlayer;
class VideoEditorPlayer : public MediaPlayerInterface {
-
+ public:
class VeAudioOutput: public MediaPlayerBase::AudioSink
{
public:
@@ -144,6 +144,7 @@ public:
virtual status_t readFirstVideoFrame();
virtual status_t getLastRenderedTimeMs(uint32_t *lastRenderedTimeMs);
+ status_t setAudioPlayer(VideoEditorAudioPlayer *audioPlayer);
private:
PreviewPlayer *mPlayer;
sp<VeAudioOutput> mVeAudioSink;