|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.SetPlayerVolume (
nPlayer as Integer,
nValue as Integer
) as enumErrorCodes
|
|
[C++]
short control.SetPlayerVolume (
short nPlayer,
short nValue
);
|
|
Parameter
|
Description
|
|
|
|
|
nPlayer
|
Number representing the zero-based index of the player whose volume will change
|
|
nValue
|
The new volume value in the range from 0 (silence) to 100 (max volume). For a higher resolution volume setting, use the SetPlayerVolumeEx method which accepts floating point values.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.ERR_NOERROR (0)
|
The volume has been changed correctly
|