summaryrefslogtreecommitdiffstats
path: root/include/media/AudioRecord.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-01-17 16:33:35 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-17 16:33:35 +0000
commit6a507298357c9ff869b97db57a890e58bd6bdec0 (patch)
tree7063a78765b7fd214a747fda6a7cfa4eaa939b89 /include/media/AudioRecord.h
parent32a7e0a5f7b000951b9adb80b17796f35b024816 (diff)
parent5f972c031d4061f4f037c9fda1ea4bd9b6a756cd (diff)
downloadframeworks_av-6a507298357c9ff869b97db57a890e58bd6bdec0.zip
frameworks_av-6a507298357c9ff869b97db57a890e58bd6bdec0.tar.gz
frameworks_av-6a507298357c9ff869b97db57a890e58bd6bdec0.tar.bz2
Merge "AudioRecord::getInputFramesLost() cleanup"
Diffstat (limited to 'include/media/AudioRecord.h')
-rw-r--r--include/media/AudioRecord.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index edc834d..c724949 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -386,8 +386,10 @@ public:
* returning the current value by this function call. Such loss typically occurs when the
* user space process is blocked longer than the capacity of audio driver buffers.
* Units: the number of input audio frames.
+ * FIXME The side-effect of resetting the counter may be incompatible with multi-client.
+ * Consider making it more like AudioTrack::getUnderrunFrames which doesn't have side effects.
*/
- unsigned int getInputFramesLost() const;
+ uint32_t getInputFramesLost() const;
private:
/* copying audio record objects is not allowed */