Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_iodev.h133 int software_volume_needed; member
284 int software_volume_needed; member
474 if (iodev->software_volume_needed) in cras_iodev_software_volume_needed()
480 return iodev->active_node->software_volume_needed; in cras_iodev_software_volume_needed()
Dcras_alsa_io.c1043 output->base.software_volume_needed = 0; in set_output_node_software_volume_needed()
1054 output->base.software_volume_needed = 1; in set_output_node_software_volume_needed()
1063 output->base.software_volume_needed = 1; in set_output_node_software_volume_needed()
1065 if (output->base.software_volume_needed) in set_output_node_software_volume_needed()
1077 input->base.software_volume_needed = 0; in set_input_node_software_volume_needed()
1092 input->base.software_volume_needed = 1; in set_input_node_software_volume_needed()
2069 iodev->software_volume_needed = 1; in alsa_iodev_create()
Dcras_iodev.c1047 int software_volume_needed = cras_iodev_software_volume_needed(iodev); in cras_iodev_put_output_buffer() local
1091 if (software_volume_needed) { in cras_iodev_put_output_buffer()
1103 if (software_volume_needed) { in cras_iodev_put_output_buffer()
1113 } else if (!output_should_mute(iodev) && software_volume_needed) { in cras_iodev_put_output_buffer()
Dcras_bt_io.c251 if (dev->set_volume && !iodev->software_volume_needed) in set_bt_volume()
420 iodev->software_volume_needed = in cras_bt_io_create()
Dtest_iodev.c206 node->software_volume_needed = 0; in test_iodev_create()
Dcras_loopback_iodev.c319 node->software_volume_needed = 0; in loopback_iodev_create()
Dcras_bt_device.c980 iodev->software_volume_needed = !use_hardware_volume; in cras_bt_device_set_use_hardware_volume()
/external/adhd/cras/src/tests/
Diodev_unittest.cc810 iodev.software_volume_needed = 1; in TEST()
845 iodev.software_volume_needed = 1; in TEST()
918 iodev.software_volume_needed = 0; in TEST()
974 iodev.software_volume_needed = 1; in TEST()
1143 iodev.software_volume_needed = 0; in TEST()
1173 ionode.software_volume_needed = 1; in TEST()
1184 ionode.software_volume_needed = 0; in TEST()
Dalsa_io_unittest.cc469 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
482 EXPECT_EQ(0, iodev->active_node->software_volume_needed); in TEST()
500 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
521 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
541 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
562 EXPECT_EQ(0, iodev->active_node->software_volume_needed); in TEST()
778 iodev->active_node->software_volume_needed = 0; in TEST()
1385 EXPECT_EQ(1, iodev->active_node->software_volume_needed); in TEST()
Dhfp_iodev_unittest.cc119 ASSERT_EQ(0, iodev->software_volume_needed); in TEST_F()
Dhfp_alsa_iodev_unittest.cc181 EXPECT_EQ(0, iodev->software_volume_needed); in TEST_F()
Diodev_list_unittest.cc1176 d1_.software_volume_needed = 0; in TEST_F()
1183 d1_.software_volume_needed = 1; in TEST_F()