Home
last modified time | relevance | path

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

/third_party/alsa-utils/alsamixer/
Dmixer_widget.h8 enum view_mode { enum
26 extern enum view_mode view_mode;
Dmixer_widget.c49 enum view_mode view_mode; variable
109 static void set_view_mode(enum view_mode m) in set_view_mode()
111 view_mode = m; in set_view_mode()
151 set_view_mode(view_mode); in close_mixer_device()
183 set_view_mode(view_mode); in select_card_by_name()
590 arg = (view_mode + 1) % VIEW_MODE_COUNT; in on_handle_key()
592 set_view_mode((enum view_mode)(arg)); in on_handle_key()
637 set_view_mode(view_mode); in create()
Dmixer_controls.c156 (view_mode == VIEW_MODE_ALL && has_merged_cswitch(elem))) in get_capture_controls_count()
177 switch (view_mode) { in get_controls_count_for_elem()
187 switch (view_mode) { in get_controls_count_for_elem()
230 if ((view_mode == VIEW_MODE_PLAYBACK && snd_mixer_selem_is_enum_capture(elem)) || in create_controls_for_elem()
231 (view_mode == VIEW_MODE_CAPTURE && !snd_mixer_selem_is_enum_capture(elem))) in create_controls_for_elem()
248 merged_cswitch = view_mode == VIEW_MODE_ALL && has_merged_cswitch(elem); in create_controls_for_elem()
249 if (view_mode != VIEW_MODE_CAPTURE && (has_pvol || has_psw)) { in create_controls_for_elem()
373 if (view_mode != VIEW_MODE_PLAYBACK && (has_cvol || has_csw) && !merged_cswitch) { in create_controls_for_elem()
Dcli.c115 view_mode = VIEW_MODE_PLAYBACK; in parse_options()
117 view_mode = VIEW_MODE_CAPTURE; in parse_options()
119 view_mode = VIEW_MODE_ALL; in parse_options()
Dmixer_display.c217 if (has_view_mode && (int)view_mode == i) { in display_view_mode()
230 has_view_mode ? modes[view_mode] : "", in display_view_mode()
385 if (view_mode == VIEW_MODE_PLAYBACK && are_there_any_controls()) in display_no_controls()
387 else if (view_mode == VIEW_MODE_CAPTURE && are_there_any_controls()) in display_no_controls()