Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.2
Parameters
- handle
- Type: SystemInt32
The effect handle. - par
- Type: SystemObject
An instance of an effect parameter structures which should be filled.Additional effect parameter structures might be implemented by add-ons.
Return Value
Type: BooleanIf successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
For DX8 effects you might use: BASS_DX8_CHORUS, BASS_DX8_COMPRESSOR, BASS_DX8_DISTORTION, BASS_DX8_ECHO, BASS_DX8_FLANGER, BASS_DX8_GARGLE, BASS_DX8_I3DL2REVERB, BASS_DX8_PARAMEQ, BASS_DX8_REVERB.
For BASS_FX DSP effetcs you might use: BASS_BFX_VOLUME, BASS_BFX_ROTATE, BASS_BFX_PHASER, BASS_BFX_PEAKEQ, BASS_BFX_ECHO4, BASS_BFX_DISTORTION, BASS_BFX_DAMP, BASS_BFX_COMPRESSOR2, BASS_BFX_CHORUS, BASS_BFX_AUTOWAH, BASS_BFX_BQF, BASS_BFX_MIX, BASS_BFX_VOLUME_ENV.
Use BASS_ChannelSetFX(Int32, BASSFXType, Int32) to add an effect DSP to a channel at anay time and BASS_ChannelRemoveFX(Int32, Int32) to remove an effect from the channel.
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not valid. |
BASS_DX8_ECHO echo = new BASS_DX8_ECHO(); Bass.BASS_FXGetParameters(_fxEchoHandle, echo); Console.WriteLine( "Panning={0}", echo.lPanDelay );