Searched refs:inputCfg (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libeffects/visualizer/
H A DEffectVisualizer.cpp90 if (pConfig->inputCfg.samplingRate != pConfig->outputCfg.samplingRate) return -EINVAL;
91 if (pConfig->inputCfg.channels != pConfig->outputCfg.channels) return -EINVAL;
92 if (pConfig->inputCfg.format != pConfig->outputCfg.format) return -EINVAL;
93 if (pConfig->inputCfg.channels != CHANNEL_STEREO) return -EINVAL;
96 if (pConfig->inputCfg.format != SAMPLE_FORMAT_PCM_S15) return -EINVAL;
120 pContext->mConfig.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
121 pContext->mConfig.inputCfg.channels = CHANNEL_STEREO;
122 pContext->mConfig.inputCfg.format = SAMPLE_FORMAT_PCM_S15;
123 pContext->mConfig.inputCfg.samplingRate = 44100;
124 pContext->mConfig.inputCfg
[all...]
/frameworks/base/media/libeffects/testlibs/
H A DEffectEqualizer.cpp228 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate);
229 CHECK_ARG(pConfig->inputCfg.channels == pConfig->outputCfg.channels);
230 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format);
231 CHECK_ARG((pConfig->inputCfg.channels == CHANNEL_MONO) || (pConfig->inputCfg.channels == CHANNEL_STEREO));
234 CHECK_ARG(pConfig->inputCfg.format == SAMPLE_FORMAT_PCM_S7_24
235 || pConfig->inputCfg.format == SAMPLE_FORMAT_PCM_S15);
238 if (pConfig->inputCfg.channels == CHANNEL_MONO) {
248 pConfig->inputCfg.samplingRate);
251 pConfig->inputCfg
[all...]
H A DEffectReverb.c217 if (pRvbModule->config.inputCfg.channels == pRvbModule->config.outputCfg.channels) {
419 pRvbModule->config.inputCfg.samplingRate = 44100;
421 pRvbModule->config.inputCfg.channels = CHANNEL_MONO;
423 pRvbModule->config.inputCfg.channels = CHANNEL_STEREO;
425 pRvbModule->config.inputCfg.format = SAMPLE_FORMAT_PCM_S15;
426 pRvbModule->config.inputCfg.bufferProvider.getBuffer = NULL;
427 pRvbModule->config.inputCfg.bufferProvider.releaseBuffer = NULL;
428 pRvbModule->config.inputCfg.bufferProvider.cookie = NULL;
429 pRvbModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
430 pRvbModule->config.inputCfg
[all...]
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp421 if (pContext->config.inputCfg.channels == CHANNEL_STEREO) {
423 } else if (pContext->config.inputCfg.channels != CHANNEL_MONO) {
609 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate);
610 CHECK_ARG(pConfig->inputCfg.format == pConfig->outputCfg.format);
611 CHECK_ARG((pContext->auxiliary && pConfig->inputCfg.channels == CHANNEL_MONO) ||
612 ((!pContext->auxiliary) && pConfig->inputCfg.channels == CHANNEL_STEREO));
616 CHECK_ARG(pConfig->inputCfg.format == SAMPLE_FORMAT_PCM_S15);
618 if(pConfig->inputCfg.samplingRate != 44100){
626 switch (pConfig->inputCfg.samplingRate) {
646 LOGV("\rReverb_Configure invalid sampling rate %d", pConfig->inputCfg
[all...]
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp495 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
496 pContext->config.inputCfg.channels = CHANNEL_STEREO;
497 pContext->config.inputCfg.format = SAMPLE_FORMAT_PCM_S15;
498 pContext->config.inputCfg.samplingRate = 44100;
499 pContext->config.inputCfg.bufferProvider.getBuffer = NULL;
500 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL;
501 pContext->config.inputCfg.bufferProvider.cookie = NULL;
502 pContext->config.inputCfg.mask = EFFECT_CONFIG_ALL;
928 CHECK_ARG(pConfig->inputCfg.samplingRate == pConfig->outputCfg.samplingRate);
929 CHECK_ARG(pConfig->inputCfg
[all...]
/frameworks/base/services/audioflinger/
H A DAudioFlinger.cpp5381 memset(mConfig.inputCfg.buffer.raw,
5383 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t));
5411 mConfig.inputCfg.buffer.raw == NULL ||
5419 AudioMixer::ditherAndClamp(mConfig.inputCfg.buffer.s32,
5420 mConfig.inputCfg.buffer.s32,
5421 mConfig.inputCfg.buffer.frameCount/2);
5426 &mConfig.inputCfg.buffer,
5436 memset(mConfig.inputCfg.buffer.raw, 0,
5437 mConfig.inputCfg.buffer.frameCount*sizeof(int32_t));
5440 mConfig.inputCfg
[all...]
H A DAudioFlinger.h971 void setInBuffer(int16_t *buffer) { mConfig.inputCfg.buffer.s16 = buffer; }
972 int16_t *inBuffer() { return mConfig.inputCfg.buffer.s16; }
/frameworks/base/include/media/
H A DEffectApi.h635 buffer_config_t inputCfg; member in struct:effect_config_s

Completed in 2152 milliseconds