summaryrefslogtreecommitdiffstats
path: root/media/libmedia
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
commit8c563ed9ca8a863a66965330b5d14bb4b4ab59d4 (patch)
treeb2d2e571aa8618456b27e1cb67a717ca80340e3e /media/libmedia
parent2a4d22d79e927f2245537921e10fc5fda1c47a29 (diff)
downloadframeworks_av-8c563ed9ca8a863a66965330b5d14bb4b4ab59d4.tar.gz
frameworks_av-8c563ed9ca8a863a66965330b5d14bb4b4ab59d4.tar.bz2
frameworks_av-8c563ed9ca8a863a66965330b5d14bb4b4ab59d4.zip
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 'media/libmedia')
-rw-r--r--media/libmedia/mediaplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libmedia/mediaplayer.cpp b/media/libmedia/mediaplayer.cpp
index c6b2efbdf8..cc41e66e6a 100644
--- a/media/libmedia/mediaplayer.cpp
+++ b/media/libmedia/mediaplayer.cpp
@@ -56,6 +56,7 @@ MediaPlayer::MediaPlayer()
mVideoWidth = mVideoHeight = 0;
mLockThreadId = 0;
mAudioSessionId = AudioSystem::newAudioSessionId();
+ mSendLevel = 0;
}
MediaPlayer::~MediaPlayer()