diff options
author | Glenn Kasten <gkasten@google.com> | 2014-01-15 18:51:03 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-01-15 18:51:03 +0000 |
commit | ac1954cb9a480a409e8cee4193fc534a6a29fbb6 (patch) | |
tree | fd15f328d3a8df1f62d1cd85f3d5b73b4ea38623 /include/media/AudioTrack.h | |
parent | dbed8955148dd2fe39584007c528e3a532f1a04e (diff) | |
parent | 396fabdb6efcdac5aea3d9f559d1beedf6a4cedc (diff) | |
download | frameworks_av-ac1954cb9a480a409e8cee4193fc534a6a29fbb6.zip frameworks_av-ac1954cb9a480a409e8cee4193fc534a6a29fbb6.tar.gz frameworks_av-ac1954cb9a480a409e8cee4193fc534a6a29fbb6.tar.bz2 |
Merge "Document AudioTrack mFrameCount and mReqFrameCount better"
Diffstat (limited to 'include/media/AudioTrack.h')
-rw-r--r-- | include/media/AudioTrack.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h index 96135a6..c86a67b 100644 --- a/include/media/AudioTrack.h +++ b/include/media/AudioTrack.h @@ -664,9 +664,10 @@ protected: float mVolume[2]; float mSendLevel; mutable uint32_t mSampleRate; // mutable because getSampleRate() can update it. - size_t mFrameCount; // corresponds to current IAudioTrack - size_t mReqFrameCount; // frame count to request the next time a new - // IAudioTrack is needed + size_t mFrameCount; // corresponds to current IAudioTrack, value is + // reported back by AudioFlinger to the client + size_t mReqFrameCount; // frame count to request the first or next time + // a new IAudioTrack is needed, non-decreasing // constant after constructor or set() audio_format_t mFormat; // as requested by client, not forced to 16-bit |