Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
SetOutputSpeakersConfig method 
 
Remarks 
 
Sets the actual speakers configuration for the given output device. 
 
The actual speakers configuration can be retrieved through the GetOutputSpeakersConfig method. 
 
For further details about speakers assignment, take a look to the How to work with multiple output devices and speakers section. 
 
 
Syntax 
 
[Visual Basic] 
control.SetOutputSpeakersConfig
nIndex as Integer
nNewConfig as enumSpeakersConfig 
 
[C++] 
short control.SetOutputSpeakersConfig
short nIndex
short nNewConfig 
);
 
 
Parameter
Description
 
 
nIndex
Number representing the zero-based index of the involved output device.
nNewConfig
The new speakers configuration. 
Supported values are the following: 
Mnemonic value
Numeric value
Meaning
SPEAKERS_STEREO
0
2 stereo speakers (Stereo)
SPEAKERS_QUADRAPHONIC
1
4 stereo speakers (Quadraphonic)
SPEAKERS_5_1
2
6 stereo speakers (5.1)
SPEAKERS_7_1
3
8 stereo speakers (7.1)
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents