Home
last modified time | relevance | path

Searched refs:SND_PCM_HW_PARAM_FORMAT (Results 1 – 13 of 13) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/
A Dpcm_plug.c510 _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_plug_hw_refine_sprepare()
574 format_mask = hw_param_interval_c(params, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_plug_hw_refine_schange()
575 sformat_mask = hw_param_interval_c(sparams, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_plug_hw_refine_schange()
606 SND_PCM_HW_PARAM_FORMAT, &sfmt_mask); in snd_pcm_plug_hw_refine_schange()
660 format_mask = hw_param_interval_c(params, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_plug_hw_refine_cchange()
661 sformat_mask = hw_param_interval_c(sparams, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_plug_hw_refine_cchange()
693 SND_PCM_HW_PARAM_FORMAT, &fmt_mask); in snd_pcm_plug_hw_refine_cchange()
803 snd_pcm_hw_param_change(slave_params, SND_PCM_HW_PARAM_FORMAT);
804 snd_pcm_hw_param_change(&sparams, SND_PCM_HW_PARAM_FORMAT);
A Dpcm_direct.c378 snd_mask_value(hw_param_interval(&hw_params, SND_PCM_HW_PARAM_FORMAT)); in snd_pcm_direct_initialize_slave()
717 if (params->rmask & (1<<SND_PCM_HW_PARAM_FORMAT)) { in snd_pcm_direct_hw_refine()
718 if (snd_mask_empty(hw_param_interval(params, SND_PCM_HW_PARAM_FORMAT))) { in snd_pcm_direct_hw_refine()
722 if (snd_mask_refine_set(hw_param_interval(params, SND_PCM_HW_PARAM_FORMAT), in snd_pcm_direct_hw_refine()
724 params->cmask |= 1<<SND_PCM_HW_PARAM_FORMAT; in snd_pcm_direct_hw_refine()
867 snd_pcm_hw_param_change(params, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_direct_hw_params()
A Dpcm_params.c48 case SND_PCM_HW_PARAM_FORMAT: in dump_hw_params()
97 case SND_PCM_HW_PARAM_FORMAT: in snd_pcm_hw_param_dump()
980 .var = SND_PCM_HW_PARAM_FORMAT,
988 .deps = { SND_PCM_HW_PARAM_FORMAT,
1127 [SND_PCM_HW_PARAM_FORMAT - SND_PCM_HW_PARAM_FIRST_INTERVAL] = {
1432 err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_FORMAT, NULL, 0); in snd_pcm_hw_params_choose()
A Dpcm_route.c601 err = _snd_pcm_hw_param_set_mask(params, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_route_hw_refine_cprepare()
624 _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_route_hw_refine_sprepare()
737 snd_pcm_hw_param_change(slave_params, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_route_hw_params()
A Dpcm_softvol.c432 err = _snd_pcm_hw_param_set_mask(params, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_softvol_hw_refine_cprepare()
454 _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_softvol_hw_refine_sprepare()
A Dpcm_extplug.c50 [SND_PCM_EXTPLUG_HW_FORMAT] = SND_PCM_HW_PARAM_FORMAT,
A Dpcm_local.h397 #define SND_PCM_HW_PARBIT_FORMAT (1U << SND_PCM_HW_PARAM_FORMAT)
A Dpcm.c281 return snd_pcm_hw_param_set(pcm, params, SND_TRY, SND_PCM_HW_PARAM_FORMAT, format, 0); in snd_pcm_hw_params_set_format()
382 int err = snd_pcm_hw_param_get(params, SND_PCM_HW_PARAM_FORMAT, &_val, NULL); in snd_pcm_hw_params_get_format()
A Dpcm_rate.c84 err = _snd_pcm_hw_param_set_mask(params, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_rate_hw_refine_cprepare()
117 _snd_pcm_hw_param_set(sparams, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_rate_hw_refine_sprepare()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sound/
A Dpcm_common.h175 #define SND_PCM_HW_PARAM_FORMAT 1 macro
177 #define SND_PCM_HW_PARAM_LAST_MASK SND_PCM_HW_PARAM_FORMAT
386 interval = &p->intervals[SND_PCM_HW_PARAM_FORMAT - in params_format()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_pcm.c191 err = snd_pcm_hw_rule_add(runtime, 0, SND_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constrains_init()
198 SND_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_constrains_init()
317 err = snd_pcm_hw_constraint_mask(runtime, SND_PCM_HW_PARAM_FORMAT, hw->formats); in snd_pcm_hw_constrains_complete()
1600 if (!(params->intervals[SND_PCM_HW_PARAM_FORMAT].mask &
1601 cons->intervals[SND_PCM_HW_PARAM_FORMAT].mask)) {
1604 params->intervals[SND_PCM_HW_PARAM_FORMAT].mask,
1605 cons->intervals[SND_PCM_HW_PARAM_FORMAT].mask);
1827 SND_PCM_HW_PARAM_FORMAT, in snd_pcm_hw_params_choose()
A Dsnd_params.c442 snd_interval_t *interval = hw_param_interval(params, SND_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_format()
467 if (! snd_mask_test(hw_param_interval(params, SND_PCM_HW_PARAM_FORMAT), k)) in snd_pcm_hw_rule_sample_bits()
A Dsnd_core.c221 cons->intervals[SND_PCM_HW_PARAM_FORMAT].mask = hw->formats; in soc_pcm_init_runtime_hw_constrains()

Completed in 51 milliseconds