UtilAudioSetCurrentApplicationVolume(Int32, Int32) Method

Sets the volume of the current application.

Definition

Namespace: DevCase.Core.Media.Sound
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SetCurrentApplicationVolume(
	int channelLeft,
	int channelRight
)

Parameters

channelLeft  Int32
The left channel volume, from range 0 to 100.
channelRight  Int32
The right channel volume, from range 0 to 100.

Exceptions

ArgumentOutOfRangeException channelLeft;A value between 0 and 100 is required. or channelRight;A value between 0 and 100 is required.
Win32Exception

See Also