summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-25 19:20:10 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-25 19:20:11 +0000
commit9f474b7824abb0d5408d02e365cf37a986663979 (patch)
tree153354d59d0ef95f88832ba25e30a133964334b6 /include
parent172abfe2cc30104282f8e65b82e9c9758adc83da (diff)
parentb42f318d9733f88c7eb9bedfd33b086b8ea5dff5 (diff)
downloadframeworks_av-9f474b7824abb0d5408d02e365cf37a986663979.zip
frameworks_av-9f474b7824abb0d5408d02e365cf37a986663979.tar.gz
frameworks_av-9f474b7824abb0d5408d02e365cf37a986663979.tar.bz2
Merge "Simplify and cleanup error handling in AudioRecord::getMinFrameCount"
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioSystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index fd86737..28fdfd4 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -118,6 +118,7 @@ public:
static bool routedToA2dpOutput(audio_stream_type_t streamType);
+ // return status NO_ERROR implies *buffSize > 0
static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
audio_channel_mask_t channelMask, size_t* buffSize);