Copyright © 2001-2019 MultiMedia Soft

GetEAXEffectWetDryMix method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the EAX effect's wet/dry mix ratio on the given player.

 

The actual wet/dry mix can be modified through the SetEAXEffectWetDryMix method.

See the How to apply special effects to a playing sound section for further details.

 

 

Syntax

 

[Visual Basic]

control.GetEAXEffectWetDryMix (

nPlayer as Integer,

fWetDryMixRatio as Single

) as enumErrorCodes


 

[C++]

short control.GetEAXEffectWetDryMix (

short nPlayer,

float *fWetDryMixRatio

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

fWetDryMixRatio

Reference that, on return from the method call, will contain a floating point value representing the wet/dry mix ratio.

The value is expressed in percentage and can assume values from 0 to 100.

 

 

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