• Home
  • Raw
  • Download

Lines Matching refs:backend_cfg

4113                              const struct audio_backend_cfg *backend_cfg)  in platform_set_backend_cfg()  argument
4119 const unsigned int bit_width = backend_cfg->bit_width; in platform_set_backend_cfg()
4120 const unsigned int sample_rate = backend_cfg->sample_rate; in platform_set_backend_cfg()
4121 const unsigned int channels = backend_cfg->channels; in platform_set_backend_cfg()
4122 const audio_format_t format = backend_cfg->format; in platform_set_backend_cfg()
4123 const bool passthrough_enabled = backend_cfg->passthrough_enabled; in platform_set_backend_cfg()
4318 struct audio_backend_cfg *backend_cfg) in platform_check_capture_backend_cfg() argument
4326 bit_width = backend_cfg->bit_width; in platform_check_capture_backend_cfg()
4327 sample_rate = backend_cfg->sample_rate; in platform_check_capture_backend_cfg()
4328 channels = backend_cfg->channels; in platform_check_capture_backend_cfg()
4358 backend_cfg->bit_width = bit_width; in platform_check_capture_backend_cfg()
4359 backend_cfg->sample_rate= sample_rate; in platform_check_capture_backend_cfg()
4360 backend_cfg->channels = channels; in platform_check_capture_backend_cfg()
4364 __func__, backend_cfg->bit_width, in platform_check_capture_backend_cfg()
4365 backend_cfg->sample_rate, backend_cfg->channels); in platform_check_capture_backend_cfg()
4431 struct audio_backend_cfg *backend_cfg) in platform_check_playback_backend_cfg() argument
4448 bit_width = backend_cfg->bit_width; in platform_check_playback_backend_cfg()
4449 sample_rate = backend_cfg->sample_rate; in platform_check_playback_backend_cfg()
4450 channels = backend_cfg->channels; in platform_check_playback_backend_cfg()
4521 backend_cfg->bit_width = bit_width; in platform_check_playback_backend_cfg()
4522 backend_cfg->sample_rate = sample_rate; in platform_check_playback_backend_cfg()
4523 backend_cfg->channels = channels; in platform_check_playback_backend_cfg()
4524 backend_cfg->passthrough_enabled = false; in platform_check_playback_backend_cfg()
4528 __func__, backend_cfg->bit_width, backend_cfg->sample_rate, backend_cfg->channels); in platform_check_playback_backend_cfg()
4542 struct audio_backend_cfg backend_cfg; in platform_check_and_set_playback_backend_cfg() local
4546 backend_cfg.bit_width = pcm_format_to_bits(usecase->stream.out->config.format); in platform_check_and_set_playback_backend_cfg()
4547 backend_cfg.sample_rate = usecase->stream.out->sample_rate; in platform_check_and_set_playback_backend_cfg()
4548 backend_cfg.format = usecase->stream.out->format; in platform_check_and_set_playback_backend_cfg()
4549 backend_cfg.channels = audio_channel_count_from_out_mask(usecase->stream.out->channel_mask); in platform_check_and_set_playback_backend_cfg()
4551 backend_cfg.passthrough_enabled = false; in platform_check_and_set_playback_backend_cfg()
4554 ", backend_idx %d usecase = %d device (%s)", __func__, backend_cfg.bit_width, in platform_check_and_set_playback_backend_cfg()
4555 backend_cfg.sample_rate, backend_cfg.channels, backend_idx, usecase->id, in platform_check_and_set_playback_backend_cfg()
4564 &backend_cfg))) { in platform_check_and_set_playback_backend_cfg()
4566 &backend_cfg); in platform_check_and_set_playback_backend_cfg()
4578 struct audio_backend_cfg backend_cfg; in platform_check_and_set_capture_backend_cfg() local
4579 memset(&backend_cfg, 0, sizeof(struct audio_backend_cfg)); in platform_check_and_set_capture_backend_cfg()
4582 backend_cfg.format = usecase->stream.in->format; in platform_check_and_set_capture_backend_cfg()
4583 backend_cfg.channels = audio_channel_count_from_in_mask(usecase->stream.in->channel_mask); in platform_check_and_set_capture_backend_cfg()
4585 backend_cfg.bit_width = CODEC_BACKEND_DEFAULT_BIT_WIDTH; in platform_check_and_set_capture_backend_cfg()
4586 backend_cfg.sample_rate = CODEC_BACKEND_DEFAULT_SAMPLE_RATE; in platform_check_and_set_capture_backend_cfg()
4587 backend_cfg.format = AUDIO_FORMAT_PCM_16_BIT; in platform_check_and_set_capture_backend_cfg()
4588 backend_cfg.channels = 1; in platform_check_and_set_capture_backend_cfg()
4593 backend_cfg.bit_width, in platform_check_and_set_capture_backend_cfg()
4594 backend_cfg.sample_rate, in platform_check_and_set_capture_backend_cfg()
4595 backend_cfg.channels, in platform_check_and_set_capture_backend_cfg()
4599 if (platform_check_capture_backend_cfg(adev, backend_idx, &backend_cfg)) { in platform_check_and_set_capture_backend_cfg()
4601 &backend_cfg); in platform_check_and_set_capture_backend_cfg()