diff options
author | Glenn Kasten <gkasten@google.com> | 2015-03-20 10:06:37 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-23 08:03:03 -0700 |
commit | 5014c94c1bbac4a4284576b0015ba75145237593 (patch) | |
tree | c097348f29dcaf33b3fbd56c330ca9b7ab53b48a /include | |
parent | 05163541326f51cefda91df5127d378c20b5a73f (diff) | |
download | frameworks_av-5014c94c1bbac4a4284576b0015ba75145237593.zip frameworks_av-5014c94c1bbac4a4284576b0015ba75145237593.tar.gz frameworks_av-5014c94c1bbac4a4284576b0015ba75145237593.tar.bz2 |
AudioRecord::releaseBuffer() buffer is const *, like AudioTrack
Change-Id: If09689a8411392281ad06fcf781f3198941c642d
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioRecord.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index e4c98fb..0b15f27 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -388,7 +388,7 @@ public: /* Release an emptied buffer of "audioBuffer->frameCount" frames for AudioFlinger to re-fill. */ // FIXME make private when obtainBuffer() for TRANSFER_OBTAIN is removed - void releaseBuffer(Buffer* audioBuffer); + void releaseBuffer(const Buffer* audioBuffer); /* As a convenience we provide a read() interface to the audio buffer. * Input parameter 'size' is in byte units. |