Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_mixer.h108 struct mixer_control* mixer_input);
120 struct mixer_control *mixer_input);
132 struct mixer_control *mixer_input);
153 struct mixer_control *mixer_input);
Dcras_alsa_mixer.c979 struct mixer_control *mixer_input) in cras_alsa_mixer_set_capture_dBFS() argument
1002 if (cras_alsa_mixer_has_volume(mixer_input)) in cras_alsa_mixer_set_capture_dBFS()
1003 mixer_control_set_dBFS(mixer_input, to_set); in cras_alsa_mixer_set_capture_dBFS()
1008 struct mixer_control *mixer_input) in cras_alsa_mixer_get_minimum_capture_gain() argument
1017 if (mixer_input && in cras_alsa_mixer_get_minimum_capture_gain()
1018 mixer_input->has_volume) in cras_alsa_mixer_get_minimum_capture_gain()
1019 total_min += mixer_input->min_volume_dB; in cras_alsa_mixer_get_minimum_capture_gain()
1026 struct mixer_control *mixer_input) in cras_alsa_mixer_get_maximum_capture_gain() argument
1036 if (mixer_input && in cras_alsa_mixer_get_maximum_capture_gain()
1037 mixer_input->has_volume) in cras_alsa_mixer_get_maximum_capture_gain()
[all …]
Dcras_alsa_io.c85 struct mixer_control* mixer_input; member
773 ain ? ain->mixer_input : NULL); in set_alsa_capture_gain()
776 ain ? ain->mixer_input : NULL); in set_alsa_capture_gain()
804 struct mixer_control *mixer_input = NULL; in init_device_settings() local
809 mixer_input = ain->mixer_input; in init_device_settings()
819 aio->mixer, mixer_input); in init_device_settings()
822 aio->mixer, mixer_input); in init_device_settings()
1275 input->mixer_input = cras_input; in new_input()
1365 struct mixer_control *mixer_input; in get_input_node_from_jack() local
1369 mixer_input = cras_alsa_jack_get_mixer_input(jack); in get_input_node_from_jack()
[all …]
Dcras_alsa_jack.c96 struct mixer_control *mixer_input; member
593 jack->mixer_input = in open_and_monitor_gpio()
628 jack->mixer_input = cras_alsa_mixer_get_control_for_section( in open_and_monitor_gpio_with_section()
953 jack->mixer_input = in find_jack_controls()
1049 jack->mixer_input = cras_alsa_mixer_get_control_for_section( in find_hctl_jack_for_section()
1185 return jack ? jack->mixer_input : NULL; in cras_alsa_jack_get_mixer_input()
/external/adhd/cras/src/tests/
Dalsa_mixer_unittest.cc624 struct mixer_control *mixer_input; in TEST() local
724 rc = mixer_control_create(&mixer_input, NULL, in TEST()
732 EXPECT_EQ(1, mixer_input->has_volume); in TEST()
734 cras_alsa_mixer_set_capture_dBFS(c, 20, mixer_input); in TEST()
744 mixer_control_destroy(mixer_input); in TEST()
967 struct mixer_control *mixer_input; in TEST_F() local
970 mixer_input = (struct mixer_control *)calloc(1, sizeof(*mixer_input)); in TEST_F()
971 mixer_input->min_volume_dB = 50; in TEST_F()
972 mixer_input->max_volume_dB = 60; in TEST_F()
973 mixer_input->has_volume = 1; in TEST_F()
[all …]
Dalsa_io_unittest.cc2529 struct mixer_control *mixer_input) in cras_alsa_mixer_set_capture_dBFS() argument
2533 alsa_mixer_set_capture_dBFS_input = mixer_input; in cras_alsa_mixer_set_capture_dBFS()
2537 struct mixer_control *mixer_input) in cras_alsa_mixer_set_capture_mute() argument
2541 alsa_mixer_set_capture_mute_input = mixer_input; in cras_alsa_mixer_set_capture_mute()
2579 struct mixer_control *mixer_input) in cras_alsa_mixer_get_minimum_capture_gain() argument
2582 cras_alsa_mixer_get_minimum_capture_gain_mixer_input = mixer_input; in cras_alsa_mixer_get_minimum_capture_gain()
2587 struct mixer_control *mixer_input) in cras_alsa_mixer_get_maximum_capture_gain() argument
2590 cras_alsa_mixer_get_maximum_capture_gain_mixer_input = mixer_input; in cras_alsa_mixer_get_maximum_capture_gain()