Lines Matching refs:config

69     effect_config_t config;  member
295 session->config.inputCfg.samplingRate = 16000; in session_create_effect()
296 session->config.inputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect()
297 session->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect()
298 session->config.outputCfg.samplingRate = 16000; in session_create_effect()
299 session->config.outputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect()
300 session->config.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect()
333 static int session_set_config(struct session_s *session, effect_config_t *config) in session_set_config() argument
337 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config()
338 config->inputCfg.format != config->outputCfg.format || in session_set_config()
339 config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) in session_set_config()
343 config->inputCfg.samplingRate, config->inputCfg.channels); in session_set_config()
347 if (session->config.inputCfg.samplingRate != config->inputCfg.samplingRate || in session_set_config()
348 session->config.inputCfg.channels != config->inputCfg.channels || in session_set_config()
349 session->config.outputCfg.channels != config->outputCfg.channels) in session_set_config()
355 memcpy(&session->config, config, sizeof(effect_config_t)); in session_set_config()
361 static void session_get_config(struct session_s *session, effect_config_t *config) in session_get_config() argument
363 memcpy(config, &session->config, sizeof(effect_config_t)); in session_get_config()
365 config->inputCfg.mask = config->outputCfg.mask = in session_get_config()