• Home
  • Raw
  • Download

Lines Matching refs:config

68     effect_config_t config;  member
294 session->config.inputCfg.samplingRate = 16000; in session_create_effect()
295 session->config.inputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect()
296 session->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect()
297 session->config.outputCfg.samplingRate = 16000; in session_create_effect()
298 session->config.outputCfg.channels = AUDIO_CHANNEL_IN_MONO; in session_create_effect()
299 session->config.outputCfg.format = AUDIO_FORMAT_PCM_16_BIT; in session_create_effect()
332 static int session_set_config(struct session_s *session, effect_config_t *config) in session_set_config() argument
336 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate || in session_set_config()
337 config->inputCfg.format != config->outputCfg.format || in session_set_config()
338 config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) in session_set_config()
342 config->inputCfg.samplingRate, config->inputCfg.channels); in session_set_config()
346 if (session->config.inputCfg.samplingRate != config->inputCfg.samplingRate || in session_set_config()
347 session->config.inputCfg.channels != config->inputCfg.channels || in session_set_config()
348 session->config.outputCfg.channels != config->outputCfg.channels) in session_set_config()
354 memcpy(&session->config, config, sizeof(effect_config_t)); in session_set_config()
360 static void session_get_config(struct session_s *session, effect_config_t *config) in session_get_config() argument
362 memcpy(config, &session->config, sizeof(effect_config_t)); in session_get_config()
364 config->inputCfg.mask = config->outputCfg.mask = in session_get_config()