C# Class ManagedBass.DSP

Base class for DSPs.
Inheritance: INPC, IDisposable
Show file Open project: ManagedBass/ManagedBass

Public Methods

Method Description
ApplyOn ( MediaPlayer Player, int Priority ) : void

Applies the DSP on a MediaPlayer.

ApplyOn ( int Channel, int Priority ) : void

Applies the DSP on a Channel.

Dispose ( ) : void

Frees all resources used by this instance.

Protected Methods

Method Description
Callback ( IntPtr Buffer, int Length ) : void

DSP Callback.

Private Methods

Method Description
OnDsp ( int handle, int channel, IntPtr Buffer, int Length, IntPtr User ) : void
Reassign ( int h ) : void

Method Details

ApplyOn() public method

Applies the DSP on a MediaPlayer.
public ApplyOn ( MediaPlayer Player, int Priority ) : void
Player MediaPlayer to apply the DSP on.
Priority int Priority of the DSP in the DSP chain.
return void

ApplyOn() public method

Applies the DSP on a Channel.
public ApplyOn ( int Channel, int Priority ) : void
Channel int Channel to apply the DSP on.
Priority int Priority of the DSP in the DSP chain.
return void

Callback() protected abstract method

DSP Callback.
protected abstract Callback ( IntPtr Buffer, int Length ) : void
Buffer System.IntPtr Pointer to Buffer allocated by Bass.
Length int No of bytes in buffer.
return void

Dispose() public method

Frees all resources used by this instance.
public Dispose ( ) : void
return void