Searched refs:has_mute (Results 1 – 2 of 2) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_alsa_mixer.c | 32 int has_mute; member 64 int has_mute; member 151 c->has_mute = snd_mixer_selem_has_playback_switch(elem); in mixer_control_element_create() 162 c->has_mute = snd_mixer_selem_has_capture_switch(elem); in mixer_control_element_create() 239 if (elem->has_mute && !control->has_mute) in mixer_control_add_element() 240 control->has_mute = 1; in mixer_control_add_element() 432 if(elem->has_mute) { in mixer_control_set_mute() 1053 if (mixer_output && mixer_output->has_mute) { in cras_alsa_mixer_set_mute() 1068 if (mixer_input && mixer_input->has_mute) in cras_alsa_mixer_set_capture_mute() 1169 if (!output->has_mute) in cras_alsa_mixer_set_output_active_state()
|
/external/adhd/cras/src/tests/ |
D | alsa_mixer_unittest.cc | 1052 EXPECT_EQ(c1->has_mute, 0); in TEST() 1054 EXPECT_EQ(c2->has_mute, 0); in TEST() 1056 EXPECT_EQ(c3->has_mute, 1); in TEST() 1058 EXPECT_EQ(c4->has_mute, 1); in TEST() 1156 EXPECT_EQ(c1->has_mute, 0); in TEST() 1158 EXPECT_EQ(c2->has_mute, 0); in TEST() 1160 EXPECT_EQ(c3->has_mute, 1); in TEST() 1162 EXPECT_EQ(c4->has_mute, 1); in TEST() 1165 EXPECT_EQ(1, output_control->has_mute); in TEST() 1237 EXPECT_EQ(c1->has_mute, 0); in TEST() [all …]
|