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 /include | |
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 'include')
-rw-r--r-- | include/media/AudioRecord.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index ef77692..e05dff3 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -136,8 +136,6 @@ public: * channelMask: Channel mask: see audio_channels_t. * frameCount: Total size of track PCM buffer in frames. This defines the * latency of the track. - * flags: A bitmask of acoustic values from enum record_flags. It enables - * AGC, NS, and IIR. * cbf: Callback function. If not null, this function is called periodically * to provide new PCM data. * notificationFrames: The callback function is called each time notificationFrames PCM @@ -145,20 +143,11 @@ public: * user Context for use by the callback receiver. */ - // FIXME consider removing this alias and replacing it by audio_in_acoustics_t - // or removing the parameter entirely if it is unused - enum record_flags { - RECORD_AGC_ENABLE = AUDIO_IN_ACOUSTICS_AGC_ENABLE, - RECORD_NS_ENABLE = AUDIO_IN_ACOUSTICS_NS_ENABLE, - RECORD_IIR_ENABLE = AUDIO_IN_ACOUSTICS_TX_IIR_ENABLE, - }; - AudioRecord(audio_source_t inputSource, uint32_t sampleRate = 0, audio_format_t format = AUDIO_FORMAT_DEFAULT, uint32_t channelMask = AUDIO_CHANNEL_IN_MONO, int frameCount = 0, - record_flags flags = (record_flags) 0, callback_t cbf = NULL, void* user = NULL, int notificationFrames = 0, @@ -184,7 +173,6 @@ public: audio_format_t format = AUDIO_FORMAT_DEFAULT, uint32_t channelMask = AUDIO_CHANNEL_IN_MONO, int frameCount = 0, - record_flags flags = (record_flags) 0, callback_t cbf = NULL, void* user = NULL, int notificationFrames = 0, @@ -389,7 +377,6 @@ private: bool mMarkerReached; uint32_t mNewPosition; uint32_t mUpdatePeriod; - record_flags mFlags; uint32_t mChannelMask; audio_io_handle_t mInput; int mSessionId; |