IrrKlang.NET

ISoundEffectControl.EnableI3DL2ReverbSoundEffect Method (Int32, Int32, Single, Single, Single, Int32, Single, Int32, Single, Single, Single, Single)

Enables the I3DL2Reverb sound effect with default values. An implementation of the listener properties in the I3DL2 specification. Source properties are not supported. If this sound effect is already enabled, calling this only modifies the parameters of the active effect.

[Visual Basic]
Overloads Public Function EnableI3DL2ReverbSoundEffect( _
   ByVal lRoom As Integer, _
   ByVal lRoomHF As Integer, _
   ByVal flRoomRolloffFactor As Single, _
   ByVal flDecayTime As Single, _
   ByVal flDecayHFRatio As Single, _
   ByVal lReflections As Integer, _
   ByVal flReflectionsDelay As Single, _
   ByVal lReverb As Integer, _
   ByVal flReverbDelay As Single, _
   ByVal flDiffusion As Single, _
   ByVal flDensity As Single, _
   ByVal flHFReference As Single _
) As Boolean
[C#]
public bool EnableI3DL2ReverbSoundEffect(
   int lRoom,
   int lRoomHF,
   float flRoomRolloffFactor,
   float flDecayTime,
   float flDecayHFRatio,
   int lReflections,
   float flReflectionsDelay,
   int lReverb,
   float flReverbDelay,
   float flDiffusion,
   float flDensity,
   float flHFReference
);

Return Value

Returns true if successful.

See Also

ISoundEffectControl Class | IrrKlang Namespace | ISoundEffectControl.EnableI3DL2ReverbSoundEffect Overload List