summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-01-26 16:35:47 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-13 16:22:16 -0700
commitf59497bd3c190e087202043de5450ef06e92b27d (patch)
tree52ff88a5a4bd358358850e0ca16d0f9527fded4e /include/private
parent802a568f77b9a372537e4216b2a7cbb203958a87 (diff)
downloadframeworks_av-f59497bd3c190e087202043de5450ef06e92b27d.zip
frameworks_av-f59497bd3c190e087202043de5450ef06e92b27d.tar.gz
frameworks_av-f59497bd3c190e087202043de5450ef06e92b27d.tar.bz2
Update comments
Change-Id: I37d3c4ce22b74fe8581a886fe5a7f9fef8266dad
Diffstat (limited to 'include/private')
-rw-r--r--include/private/media/AudioTrackShared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/private/media/AudioTrackShared.h b/include/private/media/AudioTrackShared.h
index 7143f1a..5644428 100644
--- a/include/private/media/AudioTrackShared.h
+++ b/include/private/media/AudioTrackShared.h
@@ -53,8 +53,8 @@ namespace android {
struct AudioTrackSharedStreaming {
// similar to NBAIO MonoPipe
// in continuously incrementing frame units, take modulo buffer size, which must be a power of 2
- volatile int32_t mFront; // read by server
- volatile int32_t mRear; // write by client
+ volatile int32_t mFront; // read by consumer (output: server, input: client)
+ volatile int32_t mRear; // written by producer (output: client, input: server)
volatile int32_t mFlush; // incremented by client to indicate a request to flush;
// server notices and discards all data between mFront and mRear
volatile uint32_t mUnderrunFrames; // server increments for each unavailable but desired frame