Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsamixer/
Dmixer_widget.c315 set_func(control->elem, control->volume_channels[0], value / 100.0, 0); in change_volume_to_percent()
317 set_func(control->elem, control->volume_channels[1], value / 100.0, 0); in change_volume_to_percent()
346 left = get_func(control->elem, control->volume_channels[0]); in change_volume_relative()
348 right = get_func(control->elem, control->volume_channels[1]); in change_volume_relative()
352 set_func(control->elem, control->volume_channels[0], left, dir); in change_volume_relative()
356 set_func(control->elem, control->volume_channels[1], right, dir); in change_volume_relative()
452 left = get_normalized_playback_volume(control->elem, control->volume_channels[0]); in balance_volumes()
453 right = get_normalized_playback_volume(control->elem, control->volume_channels[1]); in balance_volumes()
455 left = get_normalized_capture_volume(control->elem, control->volume_channels[0]); in balance_volumes()
456 right = get_normalized_capture_volume(control->elem, control->volume_channels[1]); in balance_volumes()
[all …]
Dmixer_controls.c255 control->volume_channels[0] = 0; in create_controls_for_elem()
302 control->volume_channels[0] = 0; in create_controls_for_elem()
306 control->volume_channels[0] = control_channels[i][0]; in create_controls_for_elem()
310 control->volume_channels[1] = control_channels[i][1]; in create_controls_for_elem()
349 control->volume_channels[0] = control->volume_channels[1]; in create_controls_for_elem()
379 control->volume_channels[0] = 0; in create_controls_for_elem()
405 control->volume_channels[0] = 0; in create_controls_for_elem()
409 control->volume_channels[0] = control_channels[i][0]; in create_controls_for_elem()
413 control->volume_channels[1] = control_channels[i][1]; in create_controls_for_elem()
435 control->volume_channels[0] = control->volume_channels[1]; in create_controls_for_elem()
Dmixer_controls.h24 snd_mixer_selem_channel_id_t volume_channels[2]; member
Dmixer_display.c278 err = get_vol_func(control->elem, control->volume_channels[0], &db); in display_focus_item_info()
285 err = get_vol_func(control->elem, control->volume_channels[0], &db); in display_focus_item_info()
287 err = get_vol_func(control->elem, control->volume_channels[1], &db2); in display_focus_item_info()
459 volumes[0] = get_vol_func(control->elem, control->volume_channels[0]); in display_control()
461 volumes[1] = get_vol_func(control->elem, control->volume_channels[1]); in display_control()