diff options
author | Glenn Kasten <gkasten@google.com> | 2014-01-17 16:33:35 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-01-17 16:33:35 +0000 |
commit | 6a507298357c9ff869b97db57a890e58bd6bdec0 (patch) | |
tree | 7063a78765b7fd214a747fda6a7cfa4eaa939b89 /include/media/AudioRecord.h | |
parent | 32a7e0a5f7b000951b9adb80b17796f35b024816 (diff) | |
parent | 5f972c031d4061f4f037c9fda1ea4bd9b6a756cd (diff) | |
download | frameworks_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.h | 4 |
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 */ |