Home
last modified time | relevance | path

Searched refs:mute (Results 1 – 18 of 18) sorted by relevance

/haiku/src/bin/
H A Dsetvolume.cpp22 handleMute(BParameter *muteParameter, int mute = 2, bool toggle = false) { in handleMute() argument
28 mute = 1 - muted; in handleMute()
29 if (muted != mute && mute < 2) in handleMute()
30 muteParameter->SetValue(&mute, sizeof(int32), system_time()); in handleMute()
66 BParameter *mute = NULL; in main() local
72 mute = parameter; in main()
90 handleMute(mute, 1); in main()
94 handleMute(mute, 0); in main()
98 int32 muted = handleMute(mute, 0, true); in main()
112 int muted = handleMute(mute, 0); in main()
[all …]
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DMSP3430.cpp334 void CMSP3430::SetFMPrescale(int gain, MSP3430_fm_matrix matrix, bool mute)
337 fFMPrescale = (mute ? 0x00 : Clamp(gain, 0x00, 0x7f)) << 8;
360 void CMSP3430::SetNICAMPrescale(int gain, bool mute)
363 fNICAMPrescale = (mute ? 0x00 : Clamp(0x20 + (0x5f * gain) / 12, 0x20, 0x7f)) << 8;
368 void CMSP3430::SetI2SPrescale(int gain, bool mute)
371 fI2SPrescale = (mute ? 0x00 : Clamp(0x10 + (0x7f * gain) / 18, 0x10, 0x7f) << 8;
375 void CMSP3430::SetSCARTPrescale(int gain, bool mute)
378 fSCARTPrescale = (mute ? 0x00 : Clamp(0x19 + (0x66 * gain) / 14, 0x19, 0x7f) << 8;
402 void CMSP3430::SetVolume(int level, bool mute, MSP3430_clipping_mode mode,
406 fVolume = (mute ? 0x00 : Clamp(level + 0x73, 0x01, 0x7f)) << 8;
[all …]
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_multi_audio.cpp385 int32 inputIndex, bool& gain, bool& mute) in hda_create_channel_control() argument
392 control.mute = 0; in hda_create_channel_control()
399 if (mute && (capabilities & AMP_CAP_MUTE) != 0) { in hda_create_channel_control()
406 mute = false; in hda_create_channel_control()
450 control.mute = 0; in hda_create_mux_control()
488 hda_widget& widget, bool& gain, bool& mute) in hda_create_control_for_complex() argument
507 widget, false, widget.capabilities.output_amplifier, 0, gain, mute); in hda_create_control_for_complex()
509 if (!gain && !mute) { in hda_create_control_for_complex()
516 widget, true, widget.capabilities.input_amplifier, 0, gain, mute); in hda_create_control_for_complex()
517 if (!gain && !mute) { in hda_create_control_for_complex()
[all …]
H A Ddriver.h330 uint32 mute; member
/haiku/src/bin/desklink/
H A DMixerControl.cpp194 int32 mute = muted ? 1 : 0; in SetMute() local
195 fMuteParameter->SetValue(&mute, sizeof(int32), system_time()); in SetMute()
205 int32 mute = 0; in Mute() local
208 fMuteParameter->GetValue(&mute, &size, &lastChange); in Mute()
209 return mute != 0; in Mute()
/haiku/src/apps/mediaplayer/interface/
H A DVolumeSlider.cpp224 VolumeSlider::SetMuted(bool mute) in SetMuted() argument
226 if (mute == fMuted) in SetMuted()
229 fMuted = mute; in SetMuted()
H A DVolumeSlider.h33 void SetMuted(bool mute);
H A DTransportControlGroup.h67 void SetMuted(bool mute);
H A DTransportControlGroup.cpp461 TransportControlGroup::SetMuted(bool mute) in SetMuted() argument
466 fVolumeSlider->SetMuted(mute); in SetMuted()
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dac97.h97 uint8 mute:1; member
H A Demuxki.h337 bool mute; member
H A Demuxki.c1762 gpr->mute = (values[0] == 1.0); in emuxki_gpr_set()
1763 if (gpr->mute) { in emuxki_gpr_set()
1781 if (!gpr->mute) in emuxki_gpr_set()
1805 values[0] = (gpr->mute ? 1.0 : 0.0); in emuxki_gpr_get()
1845 gpr->mute = false; in emuxki_gpr_new()
/haiku/src/add-ons/kernel/drivers/audio/ice1712/
H A Dice1712.cpp267 uint16 mute; in ice1712HW_setup() local
469 mute = (ICE1712_MUTE_VALUE << 0) | (ICE1712_MUTE_VALUE << 8); in ice1712HW_setup()
472 write_mt_uint16(ice, MT_VOLUME_CONTROL_CHANNEL_INDEX, mute); in ice1712HW_setup()
737 if (card->settings.playback[i].mute == true) { in ice1712Settings_apply()
759 if (card->settings.record[i].mute == true) { in ice1712Settings_apply()
H A Dice1712.h91 bool mute; member
H A Dmulti.cpp825 mmv->enable = vol[chan].mute | vol[chan + 1].mute; in ice1712UI_GetVolume()
860 vol[chan].mute = mmv->enable; in ice1712UI_SetVolume()
861 vol[chan + 1].mute = mmv->enable; in ice1712UI_SetVolume()
/haiku/src/add-ons/kernel/drivers/audio/ac97/
H A Dac97.h269 uint8 mute:1; member
/haiku/src/apps/mail/
H A Dwords18375 mute/DPY
/haiku/src/data/ids/
H A Dusb.ids13434 0312 enc060:Buttons Volume up/down/mute + phone [Jabra]