Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_mixer.h84 struct mixer_control *mixer_output);
97 struct mixer_control *mixer_output);
143 struct mixer_control *mixer_output);
Dcras_alsa_mixer.c928 struct mixer_control *mixer_output) in cras_alsa_mixer_set_dBFS() argument
939 if (cras_alsa_mixer_has_volume(mixer_output)) in cras_alsa_mixer_set_dBFS()
940 to_set += mixer_output->max_volume_dB; in cras_alsa_mixer_set_dBFS()
957 if (cras_alsa_mixer_has_volume(mixer_output)) in cras_alsa_mixer_set_dBFS()
958 mixer_control_set_dBFS(mixer_output, to_set); in cras_alsa_mixer_set_dBFS()
969 struct mixer_control *mixer_output) in cras_alsa_mixer_get_output_dB_range() argument
971 if (!cras_alsa_mixer_has_volume(mixer_output)) in cras_alsa_mixer_get_output_dB_range()
974 return mixer_output->max_volume_dB - mixer_output->min_volume_dB; in cras_alsa_mixer_get_output_dB_range()
1045 struct mixer_control *mixer_output) in cras_alsa_mixer_set_mute() argument
1053 if (mixer_output && mixer_output->has_mute) { in cras_alsa_mixer_set_mute()
[all …]
Dcras_alsa_io.c78 struct mixer_control *mixer_output; member
694 aout ? aout->mixer_output : NULL); in set_alsa_mute_control()
733 aout ? aout->mixer_output : NULL); in set_alsa_volume()
1054 !cras_alsa_mixer_has_volume(output->mixer_output))) in set_output_node_software_volume_needed()
1062 output->mixer_output); in set_output_node_software_volume_needed()
1190 output->mixer_output = cras_output; in new_output()
1342 struct mixer_control *mixer_output; in get_output_node_from_jack() local
1353 mixer_output = cras_alsa_jack_get_mixer_output(jack); in get_output_node_from_jack()
1354 if (mixer_output == NULL) in get_output_node_from_jack()
1358 mixer_output, mixer_output); in get_output_node_from_jack()
[all …]
Dcras_alsa_jack.c95 struct mixer_control *mixer_output; member
579 jack->mixer_output = cras_alsa_mixer_get_output_matching_name( in open_and_monitor_gpio()
584 jack->mixer_output = cras_alsa_mixer_get_output_matching_name( in open_and_monitor_gpio()
625 jack->mixer_output = cras_alsa_mixer_get_control_for_section( in open_and_monitor_gpio_with_section()
939 jack->mixer_output = in find_jack_controls()
1046 jack->mixer_output = cras_alsa_mixer_get_control_for_section( in find_hctl_jack_for_section()
1179 return jack->mixer_output; in cras_alsa_jack_get_mixer_output()
/external/adhd/cras/src/tests/
Dalsa_mixer_unittest.cc254 struct mixer_control *mixer_output; in TEST() local
287 rc = mixer_control_create(&mixer_output, NULL, in TEST()
297 cras_alsa_mixer_set_mute(c, 0, mixer_output); in TEST()
305 mixer_control_destroy(mixer_output); in TEST()
324 struct mixer_control *mixer_output; in TEST() local
363 rc = mixer_control_create(&mixer_output, NULL, in TEST()
376 cras_alsa_mixer_set_mute(c, 0, mixer_output); in TEST()
383 mixer_control_destroy(mixer_output); in TEST()
400 struct mixer_control *mixer_output; in TEST() local
447 rc = mixer_control_create(&mixer_output, NULL, in TEST()
[all …]
Dalsa_io_unittest.cc2508 struct mixer_control *mixer_output) in cras_alsa_mixer_set_mute() argument
2512 alsa_mixer_set_mute_output = mixer_output; in cras_alsa_mixer_set_mute()
2522 struct mixer_control *mixer_output) in cras_alsa_mixer_get_output_dB_range() argument