summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
diff options
context:
space:
mode:
Diffstat (limited to 'media/libmediaplayerservice')
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp2
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 0676fcd..eae93ff 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -1454,7 +1454,7 @@ status_t MediaPlayerService::AudioOutput::attachAuxEffect(int effectId)
// static
void MediaPlayerService::AudioOutput::CallbackWrapper(
- AudioTrack::event_type event, void *cookie, void *info) {
+ int event, void *cookie, void *info) {
//LOGV("callbackwrapper");
if (event != AudioTrack::EVENT_MORE_DATA) {
return;
diff --git a/media/libmediaplayerservice/MediaPlayerService.h b/media/libmediaplayerservice/MediaPlayerService.h
index 573117c..8bab471 100644
--- a/media/libmediaplayerservice/MediaPlayerService.h
+++ b/media/libmediaplayerservice/MediaPlayerService.h
@@ -103,7 +103,7 @@ class MediaPlayerService : public BnMediaPlayerService
private:
static void setMinBufferCount();
static void CallbackWrapper(
- AudioTrack::event_type event, void *me, void *info);
+ int event, void *me, void *info);
AudioTrack* mTrack;
AudioCallback mCallback;