Copyright © 2001-2018 MultiMedia Soft

StreamMixerPlayerAdd method

Previous pageReturn to chapter overviewNext page



Adds a player to the given stream mixer; when a player is added to a stream mixer it will redirect its audio output to the stream mixer instead of sending it to the output device set into the InitDJSystem method.

A player added to a stream mixer can be removed at a later time through the StreamMixerPlayerRemove method.


Further information about the use of custom Stream Mixers can be found inside the How to use custom Stream Mixers tutorial.





[Visual Basic]

control.StreamMixerPlayerAdd (

nStreamMixerID as Long,

nPlayer as Integer

) as enumErrorCodes



short control.StreamMixerPlayerAdd (

long nStreamMixerID,

short nPlayer









Unique identifier of the stream mixer created by a previous call to the StreamMixerCreate method


Number representing the zero-based index of the involved player




Return value






Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful