summaryrefslogtreecommitdiffstats
path: root/include/media/AudioTrack.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-16 14:55:53 -0700
committerGlenn Kasten <gkasten@google.com>2015-03-23 08:02:41 -0700
commitd198b85a163330b03e7507c9e8bfeb5f4d958a6c (patch)
tree0c682560d50acec9efeca2a1d706b3a09c6ecdc5 /include/media/AudioTrack.h
parent0e4421286b92a81e952f53210227adbf05d97c25 (diff)
downloadframeworks_av-d198b85a163330b03e7507c9e8bfeb5f4d958a6c.zip
frameworks_av-d198b85a163330b03e7507c9e8bfeb5f4d958a6c.tar.gz
frameworks_av-d198b85a163330b03e7507c9e8bfeb5f4d958a6c.tar.bz2
Fix typos
Fix typos in comments Add formal parameter name to declaration where it was missing Fix out of order comments Change-Id: I1de81ae82af5ca507864e4c7b959111bac898b98
Diffstat (limited to 'include/media/AudioTrack.h')
-rw-r--r--include/media/AudioTrack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 3de0774..cc7acbc 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -182,7 +182,7 @@ public:
AudioTrack( audio_stream_type_t streamType,
uint32_t sampleRate,
audio_format_t format,
- audio_channel_mask_t,
+ audio_channel_mask_t channelMask,
size_t frameCount = 0,
audio_output_flags_t flags = AUDIO_OUTPUT_FLAG_NONE,
callback_t cbf = NULL,
@@ -574,7 +574,7 @@ public:
* WOULD_BLOCK when obtainBuffer() returns same, or
* AudioTrack was stopped during the write
* or any other error code returned by IAudioTrack::start() or restoreTrack_l().
- * Default behavior is to only return until all data has been transferred. Set 'blocking' to
+ * Default behavior is to only return when all data has been transferred. Set 'blocking' to
* false for the method to return immediately without waiting to try multiple times to write
* the full content of the buffer.
*/