Copyright © 2001-2019 MultiMedia Soft

StreamBalanceGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the current volume balance for the given player. The volume balance can be modified through the StreamBalanceSet method.

 

 

Syntax

 

[Visual Basic]

control.StreamBalanceGet (

nPlayer as Integer,

fValue as Single

) as enumErrorCodes


 

[C++]

short control.StreamBalanceGet (

short nPlayer,

float *fValue

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

fValue

Reference that, on return from the method call, will contain the volume balance.

 

 

Return value

 

Value

Meaning

 

 

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