From f92eec53f886f43e4374a36195be55f2a7bbcf36 Mon Sep 17 00:00:00 2001 From: Glenn Kasten Date: Wed, 7 Mar 2012 08:16:36 -0800 Subject: Remove AudioRecord record_flags Change-Id: I021ddcc1bcb63132a4597d13e3d09db2a5f2c628 --- media/libmedia/AudioRecord.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'media/libmedia') diff --git a/media/libmedia/AudioRecord.cpp b/media/libmedia/AudioRecord.cpp index 0562f8e..c95707b 100644 --- a/media/libmedia/AudioRecord.cpp +++ b/media/libmedia/AudioRecord.cpp @@ -89,7 +89,6 @@ AudioRecord::AudioRecord( audio_format_t format, uint32_t channelMask, int frameCount, - record_flags flags, callback_t cbf, void* user, int notificationFrames, @@ -98,7 +97,7 @@ AudioRecord::AudioRecord( mPreviousPriority(ANDROID_PRIORITY_NORMAL), mPreviousSchedulingGroup(SP_DEFAULT) { mStatus = set(inputSource, sampleRate, format, channelMask, - frameCount, flags, cbf, user, notificationFrames, sessionId); + frameCount, cbf, user, notificationFrames, sessionId); } AudioRecord::~AudioRecord() @@ -124,7 +123,6 @@ status_t AudioRecord::set( audio_format_t format, uint32_t channelMask, int frameCount, - record_flags flags, callback_t cbf, void* user, int notificationFrames, @@ -174,7 +172,7 @@ status_t AudioRecord::set( sampleRate, format, channelMask, - (audio_in_acoustics_t)flags, + (audio_in_acoustics_t) 0, mSessionId); if (input == 0) { ALOGE("Could not get audio input for record source %d", inputSource); @@ -229,7 +227,6 @@ status_t AudioRecord::set( mNewPosition = 0; mUpdatePeriod = 0; mInputSource = inputSource; - mFlags = flags; mInput = input; AudioSystem::acquireAudioSessionId(mSessionId); @@ -613,7 +610,7 @@ audio_io_handle_t AudioRecord::getInput_l() mCblk->sampleRate, mFormat, mChannelMask, - (audio_in_acoustics_t)mFlags, + (audio_in_acoustics_t) 0, mSessionId); return mInput; } -- cgit v1.1