Searched refs:pa_channels_valid (Results 1 – 15 of 15) sorted by relevance
114 int pa_channels_valid(uint8_t channels) { in pa_channels_valid() function122 !pa_channels_valid(spec->channels) || in pa_sample_spec_valid()
200 pa_assert(pa_channels_valid(channels)); in pa_channel_map_init_auto()400 pa_assert(pa_channels_valid(channels)); in pa_channel_map_init_extend()621 if (!pa_channels_valid(map->channels)) in pa_channel_map_valid()
304 int pa_channels_valid(uint8_t channels) PA_GCC_PURE;
29 pa_channels_valid;
74 pa_assert(pa_channels_valid(channels)); in pa_cvolume_set()561 if (!pa_channels_valid(v->channels)) in pa_cvolume_valid()
74 pa_assert(pa_channels_valid(channels)); in pa_cvolume_set()545 if (!pa_channels_valid(v->channels)) in pa_cvolume_valid()
575 if (!pa_channels_valid(channels_local)) { in pa_format_info_get_channels()
340 …s_get_value_u32(ma, "channels", &channels) < 0 || (channels > 0 && !pa_channels_valid(channels))) { in pa__init()371 || (u->mod_args[i].channels > 0 && !pa_channels_valid(u->mod_args[i].channels))) { in pa__init()
312 !pa_channels_valid(channels)) { in pa__init()
370 !pa_channels_valid(channels)) { in pa__init()
106 pa_assert(pa_channels_valid(ss_local.channels)); in pa_format_info_to_sample_spec2()
420 !pa_channels_valid(channels)) in pa_modargs_get_sample_spec()
404 if (pa_atou(value, &ui) == 0 && pa_channels_valid(ui)) in ucm_get_device_property()425 if (pa_atou(value, &ui) == 0 && pa_channels_valid(ui)) in ucm_get_device_property()1551 pa_assert_se(pa_atou(channel_str, &channels) == 0 && pa_channels_valid(channels)); in alsa_mapping_add_ucm_modifier()
398 if (pa_atoi(state->rvalue, &n) < 0 || !pa_channels_valid(n)) { in parse_sample_channels()