diff options
Diffstat (limited to 'libvideoeditor/lvpp/AudioPlayerBase.h')
-rw-r--r-- | libvideoeditor/lvpp/AudioPlayerBase.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/AudioPlayerBase.h b/libvideoeditor/lvpp/AudioPlayerBase.h index 31b9fa2..b82757b 100644 --- a/libvideoeditor/lvpp/AudioPlayerBase.h +++ b/libvideoeditor/lvpp/AudioPlayerBase.h @@ -18,6 +18,7 @@ #define AUDIO_PLAYER_BASE_H_ +#include <media/AudioTrack.h> #include <media/MediaPlayerInterface.h> #include <media/stagefright/MediaBuffer.h> #include <media/stagefright/TimeSource.h> @@ -95,8 +96,8 @@ private: sp<MediaPlayerBase::AudioSink> mAudioSink; PreviewPlayerBase *mObserver; - static void AudioCallback(int event, void *user, void *info); - void AudioCallback(int event, void *info); + static void AudioCallback(AudioTrack::event_type event, void *user, void *info); + void AudioCallback(AudioTrack::event_type event, void *info); static size_t AudioSinkCallback( MediaPlayerBase::AudioSink *audioSink, |