Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_iodev.h94 long min_software_gain; member
463 return iodev->active_node->min_software_gain; in cras_iodev_minimum_software_gain()
Dcras_alsa_io.c1074 long min_software_gain; in set_input_node_software_volume_needed() local
1079 input->base.min_software_gain = DEFAULT_MIN_CAPTURE_GAIN; in set_input_node_software_volume_needed()
1101 &min_software_gain); in set_input_node_software_volume_needed()
1105 if (min_software_gain > max_software_gain) { in set_input_node_software_volume_needed()
1108 "MaxSoftwareGain %ld", min_software_gain, max_software_gain); in set_input_node_software_volume_needed()
1114 " in UCM", input->base.name, min_software_gain); in set_input_node_software_volume_needed()
1115 input->base.min_software_gain = min_software_gain; in set_input_node_software_volume_needed()
Dcras_alsa_ucm.c43 static const char min_software_gain[] = "MinSoftwareGain"; variable
667 rc = get_int(mgr, min_software_gain, dev, uc_verb(mgr), &value); in ucm_get_min_software_gain()
/external/adhd/cras/src/tests/
Dalsa_ucm_unittest.cc810 long min_software_gain; in TEST() local
820 ret = ucm_get_min_software_gain(mgr, "Internal Mic", &min_software_gain); in TEST()
823 EXPECT_EQ(2000, min_software_gain); in TEST()
828 ret = ucm_get_min_software_gain(mgr, "Internal Mic", &min_software_gain); in TEST()
Dalsa_io_unittest.cc510 EXPECT_EQ(DEFAULT_MIN_CAPTURE_GAIN, iodev->active_node->min_software_gain); in TEST()
533 EXPECT_EQ(1000, iodev->active_node->min_software_gain); in TEST()
555 EXPECT_EQ(DEFAULT_MIN_CAPTURE_GAIN, iodev->active_node->min_software_gain); in TEST()