Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsamixer/
Dmixer_controls.c48 static const snd_mixer_selem_channel_id_t control_channels[][2] = { variable
115 for (i = 0; i < ARRAY_SIZE(control_channels); ++i) { in has_merged_cswitch()
116 if (has_any_control_channel(elem, control_channels[i], snd_mixer_selem_has_capture_channel) && in has_merged_cswitch()
117 !has_any_control_channel(elem, control_channels[i], snd_mixer_selem_has_playback_channel)) in has_merged_cswitch()
138 for (i = 0; i < ARRAY_SIZE(control_channels); ++i) { in get_playback_controls_count()
139 if (snd_mixer_selem_has_playback_channel(elem, control_channels[i][0]) || in get_playback_controls_count()
140 (control_channels[i][1] != SND_MIXER_SCHN_UNKNOWN && in get_playback_controls_count()
141 snd_mixer_selem_has_playback_channel(elem, control_channels[i][1]))) in get_playback_controls_count()
161 for (i = 0; i < ARRAY_SIZE(control_channels); ++i) { in get_capture_controls_count()
162 if (snd_mixer_selem_has_capture_channel(elem, control_channels[i][0]) || in get_capture_controls_count()
[all …]