diff options
author | Glenn Kasten <gkasten@google.com> | 2012-03-07 08:16:36 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-06-22 13:49:03 -0700 |
commit | f92eec53f886f43e4374a36195be55f2a7bbcf36 (patch) | |
tree | e6db36a4f5ffb47782d0614f1defc783fcb436c0 /media/libmedia | |
parent | a43787a8cc513715543fb5c80c7c464e2cd51b6e (diff) | |
download | frameworks_av-f92eec53f886f43e4374a36195be55f2a7bbcf36.zip frameworks_av-f92eec53f886f43e4374a36195be55f2a7bbcf36.tar.gz frameworks_av-f92eec53f886f43e4374a36195be55f2a7bbcf36.tar.bz2 |
Remove AudioRecord record_flags
Change-Id: I021ddcc1bcb63132a4597d13e3d09db2a5f2c628
Diffstat (limited to 'media/libmedia')
-rw-r--r-- | media/libmedia/AudioRecord.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
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; } |