diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-11-07 08:03:13 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-11-07 08:03:14 -0800 |
| commit | 1f315f2550a06debd7e43fb508b2e1a8cd7a9046 (patch) | |
| tree | 0e7d1b07b675ae06b4a1d69de33d953d5be7d6c5 | |
| parent | 879256758603bac0e4718ab88db145f19f70027b (diff) | |
| parent | 26ba972eafde73a26271ecf027a1d5988ce50eb8 (diff) | |
| download | frameworks_av-1f315f2550a06debd7e43fb508b2e1a8cd7a9046.zip frameworks_av-1f315f2550a06debd7e43fb508b2e1a8cd7a9046.tar.gz frameworks_av-1f315f2550a06debd7e43fb508b2e1a8cd7a9046.tar.bz2 | |
Merge "Removed unused fields in AudioRecord::Buffer"
| -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); |
