summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-10-07 18:23:03 -0700
committerEric Laurent <elaurent@google.com>2010-10-07 18:23:03 -0700
commitb3bdf3f0086f1d921720f6dc92cabc7b6f2ab63e (patch)
tree21f02868e4a39ef36117dc7e0724e0ad5adf1247 /include
parent36a182870527f1d71f482e9a280bc818a4609cb6 (diff)
downloadframeworks_base-b3bdf3f0086f1d921720f6dc92cabc7b6f2ab63e.zip
frameworks_base-b3bdf3f0086f1d921720f6dc92cabc7b6f2ab63e.tar.gz
frameworks_base-b3bdf3f0086f1d921720f6dc92cabc7b6f2ab63e.tar.bz2
Added getter for session Id to AudioSink
Added a method to expose the audio session id at AudioSink interface so that the AudioPlayer in stagefright can retrieve it. Also: - Fixed audio effect send level not being initialized in mediaplayer. - Fixed compilation error when LOGV is enabled in mediaplayer JNI Change-Id: I4bb55454fd63d646e0e677692d737c4843fb05fb
Diffstat (limited to 'include')
-rw-r--r--include/media/MediaPlayerInterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h
index 3662983..0521709 100644
--- a/include/media/MediaPlayerInterface.h
+++ b/include/media/MediaPlayerInterface.h
@@ -76,6 +76,7 @@ public:
virtual uint32_t latency() const = 0;
virtual float msecsPerFrame() const = 0;
virtual status_t getPosition(uint32_t *position) = 0;
+ virtual int getSessionId() = 0;
// If no callback is specified, use the "write" API below to submit
// audio data.