summaryrefslogtreecommitdiffstats
path: root/include/media/AudioRecord.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-07-02 12:42:44 -0700
committerGlenn Kasten <gkasten@google.com>2012-07-03 10:24:45 -0700
commitdd8104cc5367262f0e5f13df4e79f131e8d560bb (patch)
tree46c95f24576ec352d7d5d363606db9a46a44e9c3 /include/media/AudioRecord.h
parentf1da96d8cf60842538e00a9c950cc451f7da2c10 (diff)
downloadframeworks_av-dd8104cc5367262f0e5f13df4e79f131e8d560bb.zip
frameworks_av-dd8104cc5367262f0e5f13df4e79f131e8d560bb.tar.gz
frameworks_av-dd8104cc5367262f0e5f13df4e79f131e8d560bb.tar.bz2
Use audio_channel_mask_t more consistently
In IAudioFlinger::createTrack() and IAudioFlinger::openRecord(), declare input parameter to use correct type audio_channel_mask_t. In IAudioFlinger::getInputBufferSize(), input parameter is now channel mask instead of channel count. Remove unused IAudioFlinger::channelCount(audio_io_handle_t). In AudioRecord::getMinFrameCount() and AudioSystem::getInputBufferSize(), input parameter is channel mask instead of channel count. Change-Id: Ib2f1c29bea70f016b3cfce83942ba292190ac965
Diffstat (limited to 'include/media/AudioRecord.h')
-rw-r--r--include/media/AudioRecord.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index 56be107..813ea85 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -107,7 +107,7 @@ public:
static status_t getMinFrameCount(int* frameCount,
uint32_t sampleRate,
audio_format_t format,
- int channelCount);
+ audio_channel_mask_t channelMask);
/* Constructs an uninitialized AudioRecord. No connection with
* AudioFlinger takes place.