diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-25 15:14:45 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-25 15:19:52 -0800 |
commit | f7cc3631c5c264e13ce8c6bc15bd829b2ff9b036 (patch) | |
tree | c2df9dc5ad6c4cb79789865832a34152fc80c74a /media | |
parent | a5ed48d3476df7dd1e10b380a68e3333f2b646fd (diff) | |
download | frameworks_av-f7cc3631c5c264e13ce8c6bc15bd829b2ff9b036.zip frameworks_av-f7cc3631c5c264e13ce8c6bc15bd829b2ff9b036.tar.gz frameworks_av-f7cc3631c5c264e13ce8c6bc15bd829b2ff9b036.tar.bz2 |
Update comments to match AudioTrack
Change-Id: I7dd14eabd78c9130a157da2063a1d65ec4f9c65a
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/AudioRecord.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libmedia/AudioRecord.cpp b/media/libmedia/AudioRecord.cpp index 123834b..83e9ea8 100644 --- a/media/libmedia/AudioRecord.cpp +++ b/media/libmedia/AudioRecord.cpp @@ -539,7 +539,9 @@ status_t AudioRecord::openRecord_l(size_t epoch) mRefreshRemaining = true; - // starting address of buffers in shared memory + // Starting address of buffers in shared memory, immediately after the control block. This + // address is for the mapping within client address space. AudioFlinger::TrackBase::mBuffer + // is for the server address space. void *buffers = (char*)cblk + sizeof(audio_track_cblk_t); mFrameCount = frameCount; |