• Home
  • Raw
  • Download

Lines Matching refs:mConfig

246             memset(mConfig.inputCfg.buffer.raw,  in updateState()
248 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t)); in updateState()
291 ditherAndClamp(mConfig.inputCfg.buffer.s32, in process()
292 mConfig.inputCfg.buffer.s32, in process()
293 mConfig.inputCfg.buffer.frameCount/2); in process()
300 if (mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in process()
301 size_t frameCnt = mConfig.inputCfg.buffer.frameCount * FCC_2; //always stereo here in process()
302 int16_t *in = mConfig.inputCfg.buffer.s16; in process()
303 int16_t *out = mConfig.outputCfg.buffer.s16; in process()
305 if (mConfig.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE) { in process()
310 memcpy(mConfig.outputCfg.buffer.raw, mConfig.inputCfg.buffer.raw, in process()
323 memset(mConfig.inputCfg.buffer.raw, 0, in process()
324 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t)); in process()
327 mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in process()
332 size_t frameCnt = mConfig.inputCfg.buffer.frameCount * FCC_2; //always stereo here in process()
333 int16_t *in = mConfig.inputCfg.buffer.s16; in process()
334 int16_t *out = mConfig.outputCfg.buffer.s16; in process()
370 mConfig.outputCfg.channels = channelMask; in configure()
373 mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO; in configure()
374 mConfig.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in configure()
377 mConfig.inputCfg.channels = channelMask; in configure()
381 mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in configure()
382 mConfig.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in configure()
387 mConfig.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in configure()
388 mConfig.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in configure()
389 mConfig.inputCfg.samplingRate = thread->sampleRate(); in configure()
390 mConfig.outputCfg.samplingRate = mConfig.inputCfg.samplingRate; in configure()
391 mConfig.inputCfg.bufferProvider.cookie = NULL; in configure()
392 mConfig.inputCfg.bufferProvider.getBuffer = NULL; in configure()
393 mConfig.inputCfg.bufferProvider.releaseBuffer = NULL; in configure()
394 mConfig.outputCfg.bufferProvider.cookie = NULL; in configure()
395 mConfig.outputCfg.bufferProvider.getBuffer = NULL; in configure()
396 mConfig.outputCfg.bufferProvider.releaseBuffer = NULL; in configure()
397 mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in configure()
407 if (mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in configure()
408 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in configure()
410 mConfig.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_WRITE; in configure()
412 mConfig.inputCfg.mask = EFFECT_CONFIG_ALL; in configure()
413 mConfig.outputCfg.mask = EFFECT_CONFIG_ALL; in configure()
414 mConfig.inputCfg.buffer.frameCount = thread->frameCount(); in configure()
415 mConfig.outputCfg.buffer.frameCount = mConfig.inputCfg.buffer.frameCount; in configure()
417 mInBuffer->setFrameCount(mConfig.inputCfg.buffer.frameCount); in configure()
420 mOutBuffer->setFrameCount(mConfig.outputCfg.buffer.frameCount); in configure()
424 this, thread.get(), mConfig.inputCfg.buffer.raw, mConfig.inputCfg.buffer.frameCount); in configure()
430 &mConfig, in configure()
461 mMaxDisableWaitCnt = (MAX_DISABLE_TIME_MS * mConfig.outputCfg.samplingRate) / in configure()
462 (1000 * mConfig.outputCfg.buffer.frameCount); in configure()
778 mConfig.inputCfg.buffer.raw = buffer->audioBuffer()->raw; in setInBuffer()
779 buffer->setFrameCount(mConfig.inputCfg.buffer.frameCount); in setInBuffer()
781 mConfig.inputCfg.buffer.raw = NULL; in setInBuffer()
789 mConfig.outputCfg.buffer.raw = buffer->audioBuffer()->raw; in setOutBuffer()
790 buffer->setFrameCount(mConfig.outputCfg.buffer.frameCount); in setOutBuffer()
792 mConfig.outputCfg.buffer.raw = NULL; in setOutBuffer()
1110 mConfig.inputCfg.buffer.frameCount, in dump()
1111 mConfig.inputCfg.samplingRate, in dump()
1112 mConfig.inputCfg.channels, in dump()
1113 mConfig.inputCfg.format, in dump()
1114 formatToString((audio_format_t)mConfig.inputCfg.format).c_str(), in dump()
1115 mConfig.inputCfg.buffer.raw); in dump()
1121 mConfig.outputCfg.buffer.raw, in dump()
1122 mConfig.outputCfg.buffer.frameCount, in dump()
1123 mConfig.outputCfg.samplingRate, in dump()
1124 mConfig.outputCfg.channels, in dump()
1125 mConfig.outputCfg.format, in dump()
1126 formatToString((audio_format_t)mConfig.outputCfg.format).c_str()); in dump()