diff options
Diffstat (limited to 'include/media/stagefright/AudioPlayer.h')
-rw-r--r-- | include/media/stagefright/AudioPlayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/media/stagefright/AudioPlayer.h b/include/media/stagefright/AudioPlayer.h index 0b79324..05493d0 100644 --- a/include/media/stagefright/AudioPlayer.h +++ b/include/media/stagefright/AudioPlayer.h @@ -18,6 +18,7 @@ #define AUDIO_PLAYER_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; AwesomePlayer *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, |