Copyright © 2001-2018 MultiMedia Soft

SetEAXEffectWetDryMix method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

The actual wet/dry mix can be obtained through the GetEAXEffectWetDryMix method.

 

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

 

 

Syntax

 

[Visual Basic]

control.SetEAXEffectWetDryMix (

nPlayer as Integer,

fWetDryMixRatio as Single

) as enumErrorCodes


 

[C++]

short control.SetEAXEffectWetDryMix (

short nPlayer,

float fWetDryMixRatio

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the involved player

fWetDryMixRatio

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