summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastCapture.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-03 11:48:45 -0800
committerGlenn Kasten <gkasten@google.com>2015-03-03 15:56:01 -0800
commit5115777127bb4d2d50833537e09054dcdffdfc76 (patch)
tree70e9d2aeb62926d0d9513fad6f607904a43de74f /services/audioflinger/FastCapture.h
parent8a0554c63dc40a2a7c066b03041079ec9eb220e5 (diff)
downloadframeworks_av-5115777127bb4d2d50833537e09054dcdffdfc76.zip
frameworks_av-5115777127bb4d2d50833537e09054dcdffdfc76.tar.gz
frameworks_av-5115777127bb4d2d50833537e09054dcdffdfc76.tar.bz2
Remove PCM16 assumption from FastCapture
Bug: 19586911 Change-Id: I74d4ddc09a9eb9c651f874482639d39a56f8ca1f
Diffstat (limited to 'services/audioflinger/FastCapture.h')
-rw-r--r--services/audioflinger/FastCapture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/FastCapture.h b/services/audioflinger/FastCapture.h
index eec89c9..e258a4d 100644
--- a/services/audioflinger/FastCapture.h
+++ b/services/audioflinger/FastCapture.h
@@ -54,7 +54,7 @@ private:
int mInputSourceGen;
NBAIO_Sink* mPipeSink;
int mPipeSinkGen;
- short* mReadBuffer;
+ void* mReadBuffer;
ssize_t mReadBufferState; // number of initialized frames in readBuffer,
// or -1 to clear
NBAIO_Format mFormat;