Copyright © 2005-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]

Public Function ForceSpeakersAssignment (

nOutputIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes ForceSpeakersAssignment (

Int16 nOutputIndex

);


 

[C++]

public: enumErrorCodes ForceSpeakersAssignment (

Int16 nOutputIndex

);


 

 

Parameter

Description

 

 

nOutputIndex

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.