public void RaiseSystemVolume() { _aepv.SetMute(false, new System.Guid()); for (var i = 0; i < 6; i++) { _aepv.VolumeStepUp(new System.Guid()); } }
/// <summary> /// Increase the master volume /// </summary> public void VolumeUp() { Guid nullGuid; nullGuid = Guid.Empty; int retVal = iAudioEndpoint.VolumeStepUp(nullGuid); if (retVal != 0) { throw new Exception("IAudioEndpointVolume.SetMute()"); } }
/// <summary> /// Increase the master volume /// </summary> public void VolumeUp() { Guid nullGuid; //nullGuid = new Guid("{00000000-0000-0000-0000-000000000000}"); // null // {dddddddd-dddd-dddd-dddd-dddddddddddd} nullGuid = Guid.Empty; int retVal = iAudioEndpoint.VolumeStepUp(nullGuid); if (retVal != 0) { throw new Exception("IAudioEndpointVolume.SetMute()"); } }
public void VolumeStepUp() { Marshal.ThrowExceptionForHR(_AudioEndPointVolume.VolumeStepUp(Guid.Empty)); }
public void VolumeUp() { int retVal = iAudioEndpoint.VolumeStepUp(GuidEventContext); Marshal.ThrowExceptionForHR(retVal); }
/// <summary> /// VolumeChanged Step Up /// </summary> public void VolumeStepUp() { ComThread.Invoke(() => Marshal.ThrowExceptionForHR(_audioEndPointVolume.VolumeStepUp(Guid.Empty))); }
/// <summary> /// Volume Step Up /// </summary> public void VolumeStepUp() { Marshal.ThrowExceptionForHR(audioEndPointVolume.VolumeStepUp(ref notificationGuid)); }
public override void VolumeUp() { endPointVol.VolumeStepUp(ref guidDummy); }