Lines Matching refs:outputCfg
523 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config()
524 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config()
525 if (config->inputCfg.format != config->outputCfg.format) return -EINVAL; in set_config()
527 if (config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_WRITE && in set_config()
528 config->outputCfg.accessMode != EFFECT_BUFFER_ACCESS_ACCUMULATE) return -EINVAL; in set_config()
592 context->config.outputCfg.accessMode = EFFECT_BUFFER_ACCESS_ACCUMULATE; in visualizer_init()
593 context->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in visualizer_init()
594 context->config.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in visualizer_init()
595 context->config.outputCfg.samplingRate = 44100; in visualizer_init()
596 context->config.outputCfg.bufferProvider.getBuffer = NULL; in visualizer_init()
597 context->config.outputCfg.bufferProvider.releaseBuffer = NULL; in visualizer_init()
598 context->config.outputCfg.bufferProvider.cookie = NULL; in visualizer_init()
599 context->config.outputCfg.mask = EFFECT_CONFIG_ALL; in visualizer_init()