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]
Public Function SetEAXEffectWetDryMix (
nPlayerIndex as Int16,
fWetDryMixRatio as Single
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SetEAXEffectWetDryMix (
Int16 nPlayerIndex,
float fWetDryMixRatio
);
|
|
[C++]
public: enumErrorCodes SetEAXEffectWetDryMix (
Int16 nPlayerIndex,
float fWetDryMixRatio
);
|
|
Parameter
|
Description
|
|
|
nPlayerIndex
|
Number representing the zero-based index of the player whose volume will change
|
fWetDryMixRatio
|
Floating point value representing the wet/dry mix ratio expressed in percentage.
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
|
|