|
Copyright © 2005-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function SetEAXEffect (
nOutputIndex as Int16,
nEffect as enumEaxEffects,
fReverbVolume as Single,
fReverbDecayTime as Single,
fReverbDecayHFRatio as Single
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SetEAXEffect (
Int16 nOutputIndex,
enumEaxEffects nEffect,
float fReverbVolume,
float fReverbDecayTime,
float fReverbDecayHFRatio
);
|
|
[C++]
public: enumErrorCodes SetEAXEffect (
Int16 nOutputIndex,
enumEaxEffects nEffect,
float fReverbVolume,
float fReverbDecayTime,
float fReverbDecayHFRatio
);
|
|
Parameter
|
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nOutputIndex
|
Number representing the zero-based index of the output device that will be affected by EAX settings
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nEffect
|
Numeric value that determines the effect to apply.
Supported values are the following:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
fReverbVolume
|
Floating point value representing the reverb volume for the given effect.
The value is expressed in percentage and can assume values from 0 to 100.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
fReverbDecayTime
|
Floating point value representing the time, expressed in seconds, for reverb to fade to -60 dB.
Supported values can range from 0.1 to 20
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
fReverbDecayHFRatio
|
Floating point value representing the reverb's decay HF Ratio.
The value is expressed in percentage and can assume values from -100 to 100 with the following meaning:
-100 = high frequencies decay quickest
0 = low and high frequencies decay equally
100 = low frequencies decays quickest
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
enumErrorCodes.NOERROR (0)
|
The method call was successful.
|