|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.SetPlayerVolumeEx (
nPlayer as Integer,
fValue as single,
nScaleType as enumVolumeScales
) as enumErrorCodes
|
|
[C++]
short control.SetPlayerVolumeEx (
short nPlayer,
float fValue,
short nScaleType
);
|
|
Parameter
|
Description
| |||||||||
|
|
| |||||||||
|
nPlayer
|
Number representing the zero-based index of the player whose volume will change
| |||||||||
|
nValue
|
Number representing the new volume (the meaning of the passed value depends upon the nScaleType parameter).
| |||||||||
|
nScaleType
|
The volume scaling type.
Supported values are the following:
|
|
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
|