Struct daisysp::FIRMemory< 0, 0 >¶
template <>
ClassList > daisysp > FIRMemory< 0, 0 >
Public Functions¶
Type | Name |
---|---|
void | Reset () |
void | SetStateBuffer (float state, size_t length) |
Protected Attributes¶
Type | Name |
---|---|
const float * | coefs_ |
size_t | size_ |
float * | state_ |
size_t | state_size_ |
Protected Functions¶
Type | Name |
---|---|
FIRMemory () |
|
size_t | MaxBlock () const |
bool | SetCoefs (const float coefs, size_t size, bool reverse) |
Public Functions Documentation¶
function Reset¶
function SetStateBuffer¶
Set user-provided state buffer
Parameters:
state
- pointer to the allocated memory blocklength
- length of the provided memory block (in elements) The length should be determined as follows length >= max_filter_size + max_processing_block - 1
Protected Attributes Documentation¶
variable coefs_¶
variable size_¶
variable state_¶
variable state_size_¶
Protected Functions Documentation¶
function FIRMemory¶
function MaxBlock¶
function SetCoefs¶
Configure the filter coefficients
Parameters:
coefs
- pointer to coefficients (tail-first order)size
- number of coefficients pointed by coefs (filter length)reverse
- flag to perform reversing of the filter
Returns:
true if all conditions are met and the filter is configured
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Filters/fir.h