BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_SetEAXParameters Method (EAXPreset)BASS.NET API for the Un4seen BASS Audio Library
Overload implementing the use of EAXPreset. A preset already sets prediefined values for "vol", "decay" and "damp".

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public static bool BASS_SetEAXParameters(
	EAXPreset preset
)

Parameters

preset
Type: Un4seen.BassEAXPreset
The EAXPreset to use and set.

Return Value

Type: Boolean
If succesful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

Obviously, EAX functions have no effect if no EAX supporting device is used. You can use BASS_GetInfo(BASS_INFO) to check if the current device suports EAX. EAX only affects 3D channels, but EAX functions do NOT require BASS_Apply3D to apply the changes.

ERROR CODEDescription
BASS_ERROR_INITBASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) has not been successfully called.
BASS_ERROR_NOEAXThe current device does not support EAX.

Examples

Use the EAX_PRESET_ARENA preset:
VB
Bass.BASS_SetEAXParameters(EAXPreset.EAX_PRESET_ARENA)
Bass.BASS_SetEAXParameters(EAXPreset.EAX_PRESET_ARENA);
See Also

Reference