C# Class AGATFilter, G-Audio

Inheritance: UnityEngine.ScriptableObject
Mostra file Open project: gregzo/G-Audio Class Usage Examples

Public Methods

Method Description
GetFilterProperties ( ) : FilterProperty[]
InitFilter ( int slotIndex ) : void

Initializes the filter.

ProcessChunk ( float data, int fromIndex, int length, bool emptyData ) : bool

Apply the filter.

ResetFilter ( ) : void

Resets the filter. If the filter is stateless, may do nothing.

Method Details

GetFilterProperties() public method

public GetFilterProperties ( ) : FilterProperty[]
return FilterProperty[]

InitFilter() public method

Initializes the filter.
public InitFilter ( int slotIndex ) : void
slotIndex int
return void

ProcessChunk() public abstract method

Apply the filter.
public abstract ProcessChunk ( float data, int fromIndex, int length, bool emptyData ) : bool
data float Data.
fromIndex int From index.
length int Length.
emptyData bool If data is empty, the filter may still need to add to it( reverbs, for example ), or to reset their state.
return bool

ResetFilter() public abstract method

Resets the filter. If the filter is stateless, may do nothing.
public abstract ResetFilter ( ) : void
return void