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 /media/libmedia | |
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 'media/libmedia')
-rw-r--r-- | media/libmedia/AudioRecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/AudioRecord.cpp b/media/libmedia/AudioRecord.cpp index 55a448e..bc99dfb 100644 --- a/media/libmedia/AudioRecord.cpp +++ b/media/libmedia/AudioRecord.cpp @@ -692,7 +692,7 @@ status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, const struct timespec *r return status; } -void AudioRecord::releaseBuffer(Buffer* audioBuffer) +void AudioRecord::releaseBuffer(const Buffer* audioBuffer) { // FIXME add error checking on mode, by adding an internal version |