Home
last modified time | relevance | path

Searched refs:software_volume_needed (Results 1 – 10 of 10) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev.h93 int software_volume_needed; member
243 int software_volume_needed; member
441 if (iodev->software_volume_needed) in cras_iodev_software_volume_needed()
447 return iodev->active_node->software_volume_needed; in cras_iodev_software_volume_needed()
Dcras_alsa_io.c1044 output->base.software_volume_needed = 0; in set_output_node_software_volume_needed()
1055 output->base.software_volume_needed = 1; in set_output_node_software_volume_needed()
1064 output->base.software_volume_needed = 1; in set_output_node_software_volume_needed()
1066 if (output->base.software_volume_needed) in set_output_node_software_volume_needed()
1078 input->base.software_volume_needed = 0; in set_input_node_software_volume_needed()
1093 input->base.software_volume_needed = 1; in set_input_node_software_volume_needed()
2076 iodev->software_volume_needed = 1; in alsa_iodev_create()
Dcras_iodev.c1016 int software_volume_needed = cras_iodev_software_volume_needed(iodev); in cras_iodev_put_output_buffer() local
1047 if (software_volume_needed) { in cras_iodev_put_output_buffer()
1058 if (software_volume_needed) { in cras_iodev_put_output_buffer()
1068 } else if (!output_should_mute(iodev) && software_volume_needed) { in cras_iodev_put_output_buffer()
Dcras_bt_io.c240 if (dev->set_volume && !iodev->software_volume_needed) in set_bt_volume()
358 iodev->software_volume_needed = in cras_bt_io_create()
Dtest_iodev.c216 node->software_volume_needed = 0; in test_iodev_create()
Dcras_loopback_iodev.c316 node->software_volume_needed = 0; in loopback_iodev_create()
Dcras_bt_device.c907 iodev->software_volume_needed = !use_hardware_volume; in cras_bt_device_set_use_hardware_volume()
/external/adhd/cras/src/tests/
Diodev_unittest.cc838 iodev.software_volume_needed = 1; in TEST()
871 iodev.software_volume_needed = 1; in TEST()
939 iodev.software_volume_needed = 0; in TEST()
992 iodev.software_volume_needed = 1; in TEST()
1210 iodev.software_volume_needed = 0; in TEST()
1241 ionode.software_volume_needed = 1; in TEST()
1252 ionode.software_volume_needed = 0; in TEST()
Dalsa_io_unittest.cc476 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
489 EXPECT_EQ(0, iodev->active_node->software_volume_needed); in TEST()
509 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
532 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
554 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
577 EXPECT_EQ(0, iodev->active_node->software_volume_needed); in TEST()
804 iodev->active_node->software_volume_needed = 0; in TEST()
1398 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
Dhfp_iodev_unittest.cc114 ASSERT_EQ(0, iodev->software_volume_needed); in TEST_F()