|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.SetPlayerSpeaker (
nPlayer as Integer,
nSpeaker as enumSpeakers
) as enumErrorCodes
|
|
[C++]
short control.SetPlayerSpeaker (
short nPlayer,
short nSpeaker
);
|
|
Parameter
|
Description
| |||||||||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||||||||
|
nPlayer
|
Number representing the zero-based index of the involved player.
| |||||||||||||||||||||||||||||||||||||||
|
nSpeaker
|
The new speaker assigned to the given player.
Supported values are the following:
Below you can see the positioning of the Stereo speakers on a wide 7.1 configuration (the reported blue numbers corresponds to the Numeric value of the parameter)
and below you can see the positioning of the Mono speakers on the same wide 7.1 configuration
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.NOERROR (0)
|
The method call was successful
|