Home
last modified time | relevance | path

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

/third_party/alsa-utils/amixer/
Dvolume_mapping.c56 enum ctl_dir { PLAYBACK, CAPTURE }; enum
85 enum ctl_dir ctl_dir) in get_normalized_volume() argument
91 err = get_dB_range[ctl_dir](elem, &min, &max); in get_normalized_volume()
93 err = get_raw_range[ctl_dir](elem, &min, &max); in get_normalized_volume()
97 err = get_raw[ctl_dir](elem, channel, &value); in get_normalized_volume()
104 err = get_dB[ctl_dir](elem, channel, &value); in get_normalized_volume()
124 enum ctl_dir ctl_dir) in set_normalized_volume() argument
130 err = get_dB_range[ctl_dir](elem, &min, &max); in set_normalized_volume()
132 err = get_raw_range[ctl_dir](elem, &min, &max); in set_normalized_volume()
137 return set_raw[ctl_dir](elem, channel, value); in set_normalized_volume()
[all …]
/third_party/alsa-utils/alsamixer/
Dvolume_mapping.c56 enum ctl_dir { PLAYBACK, CAPTURE }; enum
85 enum ctl_dir ctl_dir) in get_normalized_volume() argument
91 err = get_dB_range[ctl_dir](elem, &min, &max); in get_normalized_volume()
93 err = get_raw_range[ctl_dir](elem, &min, &max); in get_normalized_volume()
97 err = get_raw[ctl_dir](elem, channel, &value); in get_normalized_volume()
104 err = get_dB[ctl_dir](elem, channel, &value); in get_normalized_volume()
124 enum ctl_dir ctl_dir) in set_normalized_volume() argument
130 err = get_dB_range[ctl_dir](elem, &min, &max); in set_normalized_volume()
132 err = get_raw_range[ctl_dir](elem, &min, &max); in set_normalized_volume()
137 return set_raw[ctl_dir](elem, channel, value); in set_normalized_volume()
[all …]