Copyright © 2001-2019 MultiMedia Soft

ForceSpeakersAssignment method

Previous pageReturn to chapter overviewNext page

Remarks

 

Forces the speakers assignment on the given output device (sound card): some specific output device (for example the Maya EX7 sound card) will always return 2 speakers also if it supports up to 8 mono speakers: in this case the container application can force the speakers assignment anyway.

 

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.ForceSpeakersAssignment (

nIndex as Integer

) as enumErrorCodes


 

[C++]

short control.ForceSpeakersAssignment (

short nIndex

);


 

Parameter

Description

 

 

nIndex

Number representing the zero-based index of the involved output device.

 

 

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