Copyright © 2001-2018 MultiMedia Soft

StreamMixerGetIdFromOutput method

Previous pageReturn to chapter overviewNext page

Remarks

 

Given the index of an output device returns the unique identifier of its internal stream mixer that was automatically created and linked to the output device after a call to the InitDriversType method having the nDriverType  parameter set to a value different from DRIVER_TYPE_DIRECT_SOUND.

 

Through the unique identifier of the stream mixer you have the possibility to apply special effects to the mixed stream (as seen inside the How to use custom Stream Mixers tutorial) just before is sent to the physical output device.

 

See the How to manage audio flow through WASAPI and How to manage ASIO drivers tutorials for further details.

 

Syntax

 

[Visual Basic]

control.StreamMixerGetIdFromOutput (

nIndex as Integer

) as Integer


 

[C++]

short control.StreamMixerGetIdFromOutput (

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)

> 0

The unique identifier of the stream mixer internal to the output device