diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-06-21 16:24:32 -0700 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-11-06 14:27:51 -0800 |
| commit | 26ba972eafde73a26271ecf027a1d5988ce50eb8 (patch) | |
| tree | 855c95819711ccf8e641bf77d428ea9d81955415 | |
| parent | 48c6b2628f8a6037309c7957b07129d850187aa3 (diff) | |
| download | frameworks_av-26ba972eafde73a26271ecf027a1d5988ce50eb8.zip frameworks_av-26ba972eafde73a26271ecf027a1d5988ce50eb8.tar.gz frameworks_av-26ba972eafde73a26271ecf027a1d5988ce50eb8.tar.bz2 | |
Removed unused fields in AudioRecord::Buffer
Change-Id: I89fc6d8f695b48516d956b0a9a4a43d408f369f9
| -rw-r--r-- | include/media/AudioRecord.h | 7 | ||||
| -rw-r--r-- | media/libmedia/AudioRecord.cpp | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/media/AudioRecord.h b/include/media/AudioRecord.h index f9f6e8d..0ab26b8 100644 --- a/include/media/AudioRecord.h +++ b/include/media/AudioRecord.h @@ -57,13 +57,6 @@ public: class Buffer { public: - enum { - MUTE = 0x00000001 - }; - uint32_t flags; - int channelCount; - audio_format_t format; - size_t frameCount; // number of sample frames corresponding to size; // on input it is the number of frames available, // on output is the number of frames actually drained diff --git a/media/libmedia/AudioRecord.cpp b/media/libmedia/AudioRecord.cpp index bd558fa..3c28ca7 100644 --- a/media/libmedia/AudioRecord.cpp +++ b/media/libmedia/AudioRecord.cpp @@ -560,9 +560,6 @@ create_new_record: framesReq = bufferEnd - u; } - audioBuffer->flags = 0; - audioBuffer->channelCount= mChannelCount; - audioBuffer->format = mFormat; audioBuffer->frameCount = framesReq; audioBuffer->size = framesReq*cblk->frameSize; audioBuffer->raw = (int8_t*)cblk->buffer(u); |
