Home
last modified time | relevance | path

Searched refs:system_gain (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev.h429 const struct cras_iodev *iodev, long system_gain) in cras_iodev_adjust_active_node_gain() argument
432 return system_gain; in cras_iodev_adjust_active_node_gain()
434 return iodev->active_node->capture_gain + system_gain; in cras_iodev_adjust_active_node_gain()
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc590 long system_gain = 500; in TEST() local
615 ASSERT_EQ(system_gain + default_node_gain, in TEST()
616 cras_iodev_adjust_active_node_gain(iodev, system_gain)); in TEST()
739 long system_gain = 2000; in TEST() local
759 sys_get_capture_gain_return_value = system_gain; in TEST()
766 EXPECT_EQ(system_gain + default_node_gain, alsa_mixer_set_capture_dBFS_value); in TEST()