Searched refs:mixer_input (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_mixer.h | 112 struct mixer_control *mixer_input); 123 struct cras_alsa_mixer *cmix, struct mixer_control *mixer_input); 134 struct cras_alsa_mixer *cmix, struct mixer_control *mixer_input); 154 struct mixer_control *mixer_input);
|
D | cras_alsa_mixer.c | 988 struct mixer_control *mixer_input) in cras_alsa_mixer_set_capture_dBFS() argument 1011 if (cras_alsa_mixer_has_volume(mixer_input)) in cras_alsa_mixer_set_capture_dBFS() 1012 mixer_control_set_dBFS(mixer_input, to_set); in cras_alsa_mixer_set_capture_dBFS() 1016 struct mixer_control *mixer_input) in cras_alsa_mixer_get_minimum_capture_gain() argument 1025 if (mixer_input && mixer_input->has_volume) in cras_alsa_mixer_get_minimum_capture_gain() 1026 total_min += mixer_input->min_volume_dB; in cras_alsa_mixer_get_minimum_capture_gain() 1032 struct mixer_control *mixer_input) in cras_alsa_mixer_get_maximum_capture_gain() argument 1042 if (mixer_input && mixer_input->has_volume) in cras_alsa_mixer_get_maximum_capture_gain() 1043 total_max += mixer_input->max_volume_dB; in cras_alsa_mixer_get_maximum_capture_gain() 1064 struct mixer_control *mixer_input) in cras_alsa_mixer_set_capture_mute() argument [all …]
|
D | cras_alsa_jack.c | 96 struct mixer_control *mixer_input; member 567 jack->mixer_input = in open_and_monitor_gpio() 600 jack->mixer_input = cras_alsa_mixer_get_control_for_section( in open_and_monitor_gpio_with_section() 942 jack->mixer_input = in find_jack_controls() 1024 jack->mixer_input = cras_alsa_mixer_get_control_for_section( in find_hctl_jack_for_section() 1148 return jack ? jack->mixer_input : NULL; in cras_alsa_jack_get_mixer_input()
|
D | cras_alsa_io.c | 97 struct mixer_control *mixer_input; member 807 ain ? ain->mixer_input : NULL); in set_alsa_capture_gain() 818 aio->mixer, ain ? ain->mixer_input : NULL); in set_alsa_capture_gain() 820 aio->mixer, ain ? ain->mixer_input : NULL); in set_alsa_capture_gain() 826 ain ? ain->mixer_input : NULL); in set_alsa_capture_gain() 1279 input->mixer_input = cras_input; in new_input() 1358 struct mixer_control *mixer_input; in get_input_node_from_jack() local 1362 mixer_input = cras_alsa_jack_get_mixer_input(jack); in get_input_node_from_jack() 1363 if (mixer_input == NULL) { in get_input_node_from_jack() 1369 DL_SEARCH_SCALAR_WITH_CAST(aio->base.nodes, node, ain, mixer_input, in get_input_node_from_jack() [all …]
|
/external/adhd/cras/src/tests/ |
D | alsa_mixer_unittest.cc | 615 struct mixer_control* mixer_input; in TEST() local 711 rc = mixer_control_create(&mixer_input, NULL, in TEST() 719 EXPECT_EQ(1, mixer_input->has_volume); in TEST() 721 cras_alsa_mixer_set_capture_dBFS(c, 20, mixer_input); in TEST() 731 mixer_control_destroy(mixer_input); in TEST() 918 struct mixer_control* mixer_input; in TEST_F() local 921 mixer_input = (struct mixer_control*)calloc(1, sizeof(*mixer_input)); in TEST_F() 922 mixer_input->min_volume_dB = 50; in TEST_F() 923 mixer_input->max_volume_dB = 60; in TEST_F() 924 mixer_input->has_volume = 1; in TEST_F() [all …]
|
D | alsa_io_unittest.cc | 2595 struct mixer_control* mixer_input) { in cras_alsa_mixer_set_capture_dBFS() argument 2598 alsa_mixer_set_capture_dBFS_input = mixer_input; in cras_alsa_mixer_set_capture_dBFS() 2603 struct mixer_control* mixer_input) { in cras_alsa_mixer_set_capture_mute() argument 2606 alsa_mixer_set_capture_mute_input = mixer_input; in cras_alsa_mixer_set_capture_mute() 2639 struct mixer_control* mixer_input) { in cras_alsa_mixer_get_minimum_capture_gain() argument 2641 cras_alsa_mixer_get_minimum_capture_gain_mixer_input = mixer_input; in cras_alsa_mixer_get_minimum_capture_gain() 2647 struct mixer_control* mixer_input) { in cras_alsa_mixer_get_maximum_capture_gain() argument 2649 cras_alsa_mixer_get_maximum_capture_gain_mixer_input = mixer_input; in cras_alsa_mixer_get_maximum_capture_gain()
|