|
Copyright © 2005-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
Public Function GetEAXEffect (
nOutputIndex as Int16,
ByRef nEffect as enumEaxEffects,
ByRef fReverbVolume as Single,
ByRef fReverbDecayTime as Single,
ByRef fReverbDecayHFRatio as Single
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SetEAXEffect (
Int16 nOutputIndex,
ref enumEaxEffects nEffect,
ref float fReverbVolume,
ref float fReverbDecayTime,
ref float fReverbDecayHFRatio
);
|
|
[C++]
public: enumErrorCodes SetEAXEffect (
Int16 nOutputIndex,
ref enumEaxEffects nEffect,
float __gc *fReverbVolume,
float __gc *fReverbDecayTime,
float __gc *fReverbDecayHFRatio
);
|
|
Parameter
|
Description
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nOutputIndex
|
Number representing the zero-based index of the output device whose EAX settings must be retrieved
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nEffect
|
Reference that, on return from the method call, will contain the EAX effect currently set into the given output device.
Possible values are the following:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
fReverbVolume
|
Reference that, on return from the method call, will contain a floating point value representing the volume of the reverb's effect.
The value is expressed in percentage and can assume values from 0 to 100.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
fReverbDecayTime
|
Reference that, on return from the method call, will contain a 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
|
Reference that, on return from the method call, will contain a 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.
|