Searched refs:system_gain (Results 1 – 2 of 2) sorted by relevance
429 const struct cras_iodev *iodev, long system_gain) in cras_iodev_adjust_active_node_gain() argument432 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()
590 long system_gain = 500; in TEST() local615 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() local759 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()