|
|
NirCmd Command Reference - setsysvolume
|
setsysvolume [volume] {Component} {Device Index}
Set the sound volume for your system.
Changing this value also affects the sound volume settings under 'Control Panel'.
The [volume] parameter should contain a value
between 0 (silence) and 65535 (full volume).
{Component} is an optional parameter that specifies
one of the following sound components:
master, waveout, synth, cd, microphone, phone, aux, line, headphones, wavein.
The default value is 'master' (for master volume).
Under Windows Vista, the component name must be identical to the one of the device names appear in the
sound window of Vista (Control Panel -> Sound). If the device name contains spaces, it must be in quotes.
{Device Index} is an optional parameter that specifies
the sound device index. This parameter is useful if you have more than one sound card.
If you don't specify this parameter, the default sound card in Control Panel is used.
Examples:
setsysvolume 0x8000
setsysvolume 0
setsysvolume 25000 waveout
setsysvolume 25000 master 1
Vista Examples:
setsysvolume 0x8000
setsysvolume 0 "front mic"
setsysvolume 25000 speakers
setsysvolume 25000 "line in"
Other commands:
NirCmd Web Page
Download NirCmd
NirSoft Web Site
|
|