Home
last modified time | relevance | path

Searched refs:mBufFrameSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DRecordBufferConverter.cpp54 mBuf(NULL), mBufFrames(0), mBufFrameSize(0), in RecordBufferConverter()
109 if (mBufFrameSize != 0 && mBufFrames < frames) { in convert()
112 (void)posix_memalign(&mBuf, 32, mBufFrames * mBufFrameSize); in convert()
115 memset(mBuf, 0, frames * mBufFrameSize); in convert()
194 mBufFrameSize = max(mSrcChannelCount, (uint32_t)FCC_2) in updateParameters()
197 mBufFrameSize = mDstChannelCount * audio_bytes_per_sample(AUDIO_FORMAT_PCM_FLOAT); in updateParameters()
199 mBufFrameSize = mDstChannelCount * audio_bytes_per_sample(mSrcFormat); in updateParameters()
201 mBufFrameSize = 0; in updateParameters()
228 if (mBufFrameSize != 0 && mBufFrames < frames) { in convertNoResampler()
231 (void)posix_memalign(&mBuf, 32, mBufFrames * mBufFrameSize); in convertNoResampler()
/frameworks/av/media/libaudioprocessing/include/media/
DRecordBufferConverter.h104 size_t mBufFrameSize; variable