Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetOutputSpeakersConfig method 
 
Remarks 
 
Gets the actual speakers configuration for the given output device. 
 
The actual speakers configuration can be set through the SetOutputSpeakersConfig 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.GetOutputSpeakersConfig
nIndex as Integer 
 
[C++] 
short control.GetOutputSpeakersConfig
short nIndex 
);
 
 
Parameter
Description
 
 
nIndex
Number representing the zero-based index of the involved output device.
 
 
Return value 
 
Mnemonic value
Numeric value
Meaning
ERR_xxx
Negative
An error occurred (see the LastError property for further error details)
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)
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents