summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-02 13:48:35 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-02 13:48:35 -0800
commit92454de63c8ac4ce86b8d5e756055b42e8de9368 (patch)
tree40f85b6f98832e016e483b7026ed62e6fc17f68f /include
parent45e96fd28a6f0b6a6526c9af62b083be73385c95 (diff)
parentbd3db2f54edff2632bee24a595a10257a38954d7 (diff)
downloadframeworks_base-92454de63c8ac4ce86b8d5e756055b42e8de9368.zip
frameworks_base-92454de63c8ac4ce86b8d5e756055b42e8de9368.tar.gz
frameworks_base-92454de63c8ac4ce86b8d5e756055b42e8de9368.tar.bz2
Merge "Fix typos and line length in AudioRecord comments"
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioRecord.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h
index b0c581a..4fbeb38 100644
--- a/include/media/AudioRecord.h
+++ b/include/media/AudioRecord.h
@@ -299,7 +299,7 @@ public:
/* obtains a buffer of "frameCount" frames. The buffer must be
* filled entirely. If the track is stopped, obtainBuffer() returns
- * STOPPED instead of NO_ERROR as long as there are buffers availlable,
+ * STOPPED instead of NO_ERROR as long as there are buffers available,
* at which point NO_MORE_BUFFERS is returned.
* Buffers will be returned until the pool (buffercount())
* is exhausted, at which point obtainBuffer() will either block
@@ -317,13 +317,14 @@ public:
/* As a convenience we provide a read() interface to the audio buffer.
- * This is implemented on top of lockBuffer/unlockBuffer.
+ * This is implemented on top of obtainBuffer/releaseBuffer.
*/
ssize_t read(void* buffer, size_t size);
- /* Return the amount of input frames lost in the audio driver since the last call of this function.
- * Audio driver is expected to reset the value to 0 and restart counting upon 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.
+ /* Return the amount of input frames lost in the audio driver since the last call of this
+ * function. Audio driver is expected to reset the value to 0 and restart counting upon
+ * 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.
* Unit: the number of input audio frames
*/
unsigned int getInputFramesLost() const;