Lines Matching refs:inputCfg
531 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate) return -EINVAL; in set_config()
532 if (config->inputCfg.channels != config->outputCfg.channels) return -EINVAL; in set_config()
533 if (config->inputCfg.format != config->outputCfg.format) return -EINVAL; in set_config()
534 if (config->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO) return -EINVAL; in set_config()
537 if (config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) return -EINVAL; in set_config()
592 context->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; in visualizer_init()
593 context->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; in visualizer_init()
594 context->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in visualizer_init()
595 context->config.inputCfg.samplingRate = 44100; in visualizer_init()
596 context->config.inputCfg.bufferProvider.getBuffer = NULL; in visualizer_init()
597 context->config.inputCfg.bufferProvider.releaseBuffer = NULL; in visualizer_init()
598 context->config.inputCfg.bufferProvider.cookie = NULL; in visualizer_init()
599 context->config.inputCfg.mask = EFFECT_CONFIG_ALL; in visualizer_init()
613 visu_ctxt->channel_count = audio_channel_count_from_out_mask(context->config.inputCfg.channels); in visualizer_init()
832 const uint32_t delta_smp = context->config.inputCfg.samplingRate * latency_ms / 1000; in visualizer_command()