Copyright © 2005-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]

Public Function GetEAXEffectWetDryMix (

nPlayerIndex as Int16,

ByRef fWetDryMixRatio as Single

) as enumErrorCodes


 

[C#]

public enumErrorCodes GetEAXEffectWetDryMix (

Int16 nPlayerIndex,

ref float fWetDryMixRatio

);


 

[C++]

public: enumErrorCodes GetEAXEffectWetDryMix (

Int16 nPlayerIndex,

float __gc *fWetDryMixRatio

);


 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player whose volume will change

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