summaryrefslogtreecommitdiffstats
path: root/include/media/AudioTrack.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-07-10 17:03:19 -0700
committerGlenn Kasten <gkasten@google.com>2013-07-10 17:08:15 -0700
commitfb1fdc9d6603aa228362e7349451f6455c9849c2 (patch)
tree1caac6c881db81bcfedb596b292ce62ecbaf6a2c /include/media/AudioTrack.h
parent551ababe67ce31778000d52958e53e1c56e1a294 (diff)
downloadframeworks_av-fb1fdc9d6603aa228362e7349451f6455c9849c2.zip
frameworks_av-fb1fdc9d6603aa228362e7349451f6455c9849c2.tar.gz
frameworks_av-fb1fdc9d6603aa228362e7349451f6455c9849c2.tar.bz2
Add comments
Change-Id: Ifbf3a46a4183c8abc0feee1c588953ab10303cc1
Diffstat (limited to 'include/media/AudioTrack.h')
-rw-r--r--include/media/AudioTrack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 6727601..58e0deb 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -75,8 +75,10 @@ public:
size_t frameCount; // number of sample frames corresponding to size;
// on input it is the number of frames desired,
// on output is the number of frames actually filled
+ // (currently ignored, but will make the primary field in future)
size_t size; // input/output in bytes == frameCount * frameSize
+ // on output is the number of bytes actually filled
// FIXME this is redundant with respect to frameCount,
// and TRANSFER_OBTAIN mode is broken for 8-bit data
// since we don't define the frame format