Searched refs:CMD_WITH_ARG (Results 1 – 5 of 5) sorted by relevance
/third_party/alsa-utils/alsamixer/ |
D | bindings.c | 61 [KEY_F(3)] = CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_PLAYBACK), 62 [KEY_F(4)] = CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_CAPTURE), 63 [KEY_F(5)] = CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_ALL), 72 [KEY_LEFT] = CMD_WITH_ARG(CMD_MIXER_PREVIOUS, 1), 73 ['p'] = CMD_WITH_ARG(CMD_MIXER_PREVIOUS, 1), 74 ['P'] = CMD_WITH_ARG(CMD_MIXER_PREVIOUS, 1), 75 [KEY_RIGHT] = CMD_WITH_ARG(CMD_MIXER_NEXT, 1), 76 ['N'] = CMD_WITH_ARG(CMD_MIXER_NEXT, 1), 77 ['n'] = CMD_WITH_ARG(CMD_MIXER_NEXT, 1), 78 [KEY_PPAGE] = CMD_WITH_ARG(CMD_MIXER_CONTROL_UP, 5), [all …]
|
D | configparser.c | 224 case MW_MODE|MW_ALL: return CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_ALL); in mixer_command_by_name() 225 case MW_MODE|MW_CAPTURE: return CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_CAPTURE); in mixer_command_by_name() 226 case MW_MODE|MW_PLAYBACK: return CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, VIEW_MODE_PLAYBACK); in mixer_command_by_name() 234 CMD_WITH_ARG((words & MW_NEXT in mixer_command_by_name() 239 CMD_WITH_ARG(CMD_MIXER_FOCUS_CONTROL, number - 1)); in mixer_command_by_name() 255 CMD_WITH_ARG((words & MW_UP in mixer_command_by_name() 260 CMD_WITH_ARG(CMD_MIXER_CONTROL_SET_PERCENT_LEFT + channel - 1, number)); in mixer_command_by_name() 262 return CMD_WITH_ARG(CMD_MIXER_TOGGLE_MUTE, channel); in mixer_command_by_name() 264 return CMD_WITH_ARG(CMD_MIXER_TOGGLE_CAPTURE, channel); in mixer_command_by_name()
|
D | mixer_widget.c | 495 return CMD_WITH_ARG(( in on_mouse_key() 506 return CMD_WITH_ARG(( in on_mouse_key() 524 return CMD_WITH_ARG(CMD_MIXER_CONTROL_SET_PERCENT_LEFT + channels - 1, in on_mouse_key() 531 return CMD_WITH_ARG(CMD_MIXER_TOGGLE_MUTE, channels); in on_mouse_key() 538 ? CMD_WITH_ARG(CMD_MIXER_CONTROL_UP, 100) in on_mouse_key() 539 : CMD_WITH_ARG(CMD_MIXER_CONTROL_DOWN, 1)); in on_mouse_key()
|
D | mixer_display.c | 225 CMD_WITH_ARG(CMD_MIXER_SET_VIEW_MODE, i), -1); in display_view_mode() 547 CMD_WITH_ARG(CMD_MIXER_TOGGLE_CAPTURE, LEFT), control_index); in display_control() 553 CMD_WITH_ARG(CMD_MIXER_TOGGLE_CAPTURE, RIGHT), control_index); in display_control() 571 CMD_WITH_ARG(CMD_MIXER_TOGGLE_CAPTURE, LEFT|RIGHT), control_index); in display_control() 605 CMD_WITH_ARG(CMD_MIXER_FOCUS_CONTROL, control_index), -1); in display_control() 651 CMD_WITH_ARG(CMD_MIXER_PREVIOUS, visible_controls), -1); in display_scroll_indicators() 653 CMD_WITH_ARG(CMD_MIXER_NEXT, visible_controls), -1); in display_scroll_indicators()
|
D | bindings.h | 19 #define CMD_WITH_ARG(CMD, ARG) \ macro
|