Home
last modified time | relevance | path

Searched refs:muted (Results 1 – 25 of 59) sorted by relevance

123

/external/adhd/cras/src/tests/
Dobserver_unittest.cc112 int muted, int user_muted, int mute_locked) { in cb_output_mute_changed() argument
115 cb_output_mute_changed_muted.push_back(muted); in cb_output_mute_changed()
127 void cb_capture_mute_changed(void *context, int muted, int mute_locked) { in cb_capture_mute_changed() argument
130 cb_capture_mute_changed_muted.push_back(muted); in cb_capture_mute_changed()
332 const int muted = 1; in TEST_F() local
336 cras_observer_notify_output_mute(muted, user_muted, mute_locked); in TEST_F()
342 EXPECT_EQ(data->muted, muted); in TEST_F()
350 EXPECT_EQ(cb_output_mute_changed_muted[0], muted); in TEST_F()
351 EXPECT_EQ(cb_output_mute_changed_muted[1], muted); in TEST_F()
384 const int muted = 1; in TEST_F() local
[all …]
Dcras_monitor.c27 static void output_mute_changed(void *context, int muted, in output_mute_changed() argument
31 muted, user_muted, mute_locked); in output_mute_changed()
39 static void capture_mute_changed(void *context, int muted, int mute_locked) in capture_mute_changed() argument
42 muted, mute_locked); in capture_mute_changed()
Drclient_unittest.cc521 const int muted = 1; in TEST_F() local
525 send_output_mute_changed(void_client, muted, user_muted, mute_locked); in TEST_F()
529 EXPECT_EQ(msg->muted, muted); in TEST_F()
555 const int muted = 1; in TEST_F() local
558 send_capture_mute_changed(void_client, muted, mute_locked); in TEST_F()
562 EXPECT_EQ(msg->muted, muted); in TEST_F()
/external/autotest/client/site_tests/policy_AudioOutputAllowed/
Dpolicy_AudioOutputAllowed.py64 muted = output.split(':')[-1].strip()
65 return muted == MUTE_STATUS
94 for muted in [False, True]:
95 cras_utils.set_system_mute(muted)
112 logging.info('muted (%s): %s' % (muted, rms_value))
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc521 UInt32 muted = 0; in SpeakerMute() local
530 size = sizeof(muted); in SpeakerMute()
532 _outputDeviceID, &propertyAddress, 0, NULL, &size, &muted)); in SpeakerMute()
535 enabled = static_cast<bool>(muted); in SpeakerMute()
539 muted = 0; in SpeakerMute()
547 muted = (muted && channelMuted); in SpeakerMute()
560 enabled = static_cast<bool>(muted); in SpeakerMute()
697 UInt32 muted = 0; in MicrophoneMute() local
706 size = sizeof(muted); in MicrophoneMute()
708 _inputDeviceID, &propertyAddress, 0, NULL, &size, &muted)); in MicrophoneMute()
[all …]
/external/adhd/cras/src/server/
Dcras_observer.c49 int muted; member
121 mute_data->muted, in output_mute_alert()
151 mute_data->muted, in capture_mute_alert()
450 void cras_observer_notify_output_mute(int muted, int user_muted, in cras_observer_notify_output_mute() argument
455 data.muted = muted; in cras_observer_notify_output_mute()
471 void cras_observer_notify_capture_mute(int muted, int mute_locked) in cras_observer_notify_capture_mute() argument
475 data.muted = muted; in cras_observer_notify_capture_mute()
Dcras_system_state.h62 void cras_system_set_user_mute(int muted);
64 void cras_system_set_mute(int muted);
86 void cras_system_set_capture_mute(int muted);
Dcras_observer.h62 void cras_observer_notify_output_mute(int muted, int user_muted,
69 void cras_observer_notify_capture_mute(int muted, int mute_locked);
Dcras_alsa_mixer.c425 const struct mixer_control *control, int muted) in mixer_control_set_mute() argument
435 elem->elem, !muted); in mixer_control_set_mute()
438 elem->elem, !muted); in mixer_control_set_mute()
1044 int muted, in cras_alsa_mixer_set_mute() argument
1051 cras_mixer->playback_switch, !muted); in cras_alsa_mixer_set_mute()
1054 mixer_control_set_mute(mixer_output, muted); in cras_alsa_mixer_set_mute()
1059 int muted, in cras_alsa_mixer_set_capture_mute() argument
1065 cras_mixer->capture_switch, !muted); in cras_alsa_mixer_set_capture_mute()
1069 mixer_control_set_mute(mixer_input, muted); in cras_alsa_mixer_set_capture_mute()
Dcras_alsa_mixer.h142 int muted,
152 int muted,
Dcras_rclient.c210 static void send_output_mute_changed(void *context, int muted, in send_output_mute_changed() argument
216 cras_fill_client_output_mute_changed(&msg, muted, in send_output_mute_changed()
230 static void send_capture_mute_changed(void *context, int muted, int mute_locked) in send_capture_mute_changed() argument
235 cras_fill_client_capture_mute_changed(&msg, muted, mute_locked); in send_capture_mute_changed()
Dcras_dbus_control.c967 static void signal_output_mute(void *context, int muted, int user_muted, in signal_output_mute() argument
978 muted = cras_system_get_system_mute(); in signal_output_mute()
981 DBUS_TYPE_BOOLEAN, &muted, in signal_output_mute()
1005 static void signal_capture_mute(void *context, int muted, int mute_locked) in signal_capture_mute() argument
1016 DBUS_TYPE_BOOLEAN, &muted, in signal_capture_mute()
/external/webrtc/webrtc/tools/rtcbot/bot/browser/
Dbot.js95 function showStream(streamId, autoplay, muted) { argument
99 video.muted = muted;
/external/adhd/cras/src/common/
Dcras_observer_ops.h21 int muted, int user_muted, int mute_locked);
25 void (*capture_mute_changed)(void *context, int muted, int mute_locked);
Dcras_messages.h636 int32_t muted; member
641 struct cras_client_mute_changed *m, int32_t muted, in cras_fill_client_output_mute_changed() argument
646 m->muted = muted; in cras_fill_client_output_mute_changed()
651 struct cras_client_mute_changed *m, int32_t muted, in cras_fill_client_capture_mute_changed() argument
656 m->muted = muted; in cras_fill_client_capture_mute_changed()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct.cc311 void AgcManagerDirect::SetCaptureMuted(bool muted) { in SetCaptureMuted() argument
312 if (capture_muted_ == muted) { in SetCaptureMuted()
315 capture_muted_ = muted; in SetCaptureMuted()
317 if (!muted) { in SetCaptureMuted()
/external/adhd/cras/
DREADME.dbus-api50 will be muted when this is set.
190 OutputMuteChanged(boolean muted, boolean user_muted)
192 Indicates that the output mute state has changed. muted
193 is true if the system is muted by a system process, such
195 system has been muted by user action such as the mute
203 InputMuteChanged(boolean muted)
/external/autotest/client/site_tests/platform_InputVolume/
Dplatform_InputVolume.py100 muted = output.split(':')[-1].strip()
101 return muted == self.MUTE_STATUS
/external/webrtc/webrtc/libjingle/xmpp/
Dhangoutpubsubclient.cc205 bool muted, std::string* task_id_out) { in PublishAudioMuteState() argument
206 audio_mute_state_client_->Publish(nick_, muted, task_id_out); in PublishAudioMuteState()
210 bool muted, std::string* task_id_out) { in PublishVideoMuteState() argument
211 video_mute_state_client_->Publish(nick_, muted, task_id_out); in PublishVideoMuteState()
Dhangoutpubsubclient.h74 bool muted, std::string* task_id_out = NULL);
76 bool muted, std::string* task_id_out = NULL);
/external/webrtc/talk/media/base/
Dvideocapturer.cc227 bool VideoCapturer::MuteToBlackThenPause(bool muted) { in MuteToBlackThenPause() argument
228 if (muted == IsMuted()) { in MuteToBlackThenPause()
232 LOG(LS_INFO) << (muted ? "Muting" : "Unmuting") << " this video capturer."; in MuteToBlackThenPause()
233 muted_ = muted; // Do this before calling Pause(). in MuteToBlackThenPause()
234 if (muted) { in MuteToBlackThenPause()
/external/webrtc/webrtc/voice_engine/test/cmd_test/
Dvoe_cmd_test.cc235 bool muted = false; in RunTest() local
628 res = volume->GetInputMute(chan, muted); in RunTest()
630 muted = !muted; in RunTest()
631 res = volume->SetInputMute(chan, muted); in RunTest()
633 if (muted) in RunTest()
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.cc278 bool muted(false); in RecordedDataIsAvailable() local
279 EXPECT_EQ(0, _audioDevice->MicrophoneMute(&muted)); in RecordedDataIsAvailable()
280 muted = !muted; in RecordedDataIsAvailable()
281 EXPECT_EQ(0, _audioDevice->SetMicrophoneMute(muted)); in RecordedDataIsAvailable()
282 if (muted) in RecordedDataIsAvailable()
531 bool muted(false); in NeedMorePlayData() local
532 EXPECT_EQ(0, _audioDevice->SpeakerMute(&muted)); in NeedMorePlayData()
533 muted = !muted; in NeedMorePlayData()
534 EXPECT_EQ(0, _audioDevice->SetSpeakerMute(muted)); in NeedMorePlayData()
535 if (muted) in NeedMorePlayData()
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_impl.cc802 bool muted(false); in SpeakerMute() local
804 if (_ptrAudioDevice->SpeakerMute(muted) == -1) in SpeakerMute()
809 *enabled = muted; in SpeakerMute()
854 bool muted(false); in MicrophoneMute() local
856 if (_ptrAudioDevice->MicrophoneMute(muted) == -1) in MicrophoneMute()
861 *enabled = muted; in MicrophoneMute()
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc446 bool muted(0); in SpeakerMute() local
448 if (_mixerManager.SpeakerMute(muted) == -1) in SpeakerMute()
453 enabled = muted; in SpeakerMute()
503 bool muted(0); in MicrophoneMute() local
505 if (_mixerManager.MicrophoneMute(muted) == -1) in MicrophoneMute()
510 enabled = muted; in MicrophoneMute()

123