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.13.3
Syntax
Parameters
- preset
- Type: Un4seen.BassEAXPreset
The EAXPreset to use and set.
Return Value
Type: BooleanIf 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 CODE | Description |
---|---|
BASS_ERROR_INIT | BASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) has not been successfully called. |
BASS_ERROR_NOEAX | The current device does not support EAX. |
Examples
VB
Bass.BASS_SetEAXParameters(EAXPreset.EAX_PRESET_ARENA)
Bass.BASS_SetEAXParameters(EAXPreset.EAX_PRESET_ARENA);
See Also