summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioRecord.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-25 15:48:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-25 15:48:25 +0000
commit172abfe2cc30104282f8e65b82e9c9758adc83da (patch)
treee9d99ac10f51c6427aea253ef624772ec02d9827 /media/libmedia/AudioRecord.cpp
parent68d074fe4538e0f1bd647c3f3aa932ea7dca332a (diff)
parent86f04663032ddaa25110149d709bbf896ad83b02 (diff)
downloadframeworks_av-172abfe2cc30104282f8e65b82e9c9758adc83da.zip
frameworks_av-172abfe2cc30104282f8e65b82e9c9758adc83da.tar.gz
frameworks_av-172abfe2cc30104282f8e65b82e9c9758adc83da.tar.bz2
Merge "Add log at entry to set() in AudioTrack and AudioRecord"
Diffstat (limited to 'media/libmedia/AudioRecord.cpp')
-rw-r--r--media/libmedia/AudioRecord.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/media/libmedia/AudioRecord.cpp b/media/libmedia/AudioRecord.cpp
index 700718d..b6b6d14 100644
--- a/media/libmedia/AudioRecord.cpp
+++ b/media/libmedia/AudioRecord.cpp
@@ -133,6 +133,11 @@ status_t AudioRecord::set(
transfer_type transferType,
audio_input_flags_t flags)
{
+ ALOGV("set(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %d, "
+ "notificationFrames %d, sessionId %d, transferType %d, flags %#x",
+ inputSource, sampleRate, format, channelMask, frameCountInt, notificationFrames,
+ sessionId, transferType, flags);
+
switch (transferType) {
case TRANSFER_DEFAULT:
if (cbf == NULL || threadCanCallJava) {
@@ -163,9 +168,6 @@ status_t AudioRecord::set(
}
size_t frameCount = frameCountInt;
- ALOGV("set(): sampleRate %u, channelMask %#x, frameCount %u", sampleRate, channelMask,
- frameCount);
-
AutoMutex lock(mLock);
if (mAudioRecord != 0) {