DaisySP
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
daisysp::FIRMemory< 0, 0 > Struct Reference

Public Member Functions

void SetStateBuffer (float state[], size_t length)
 
void Reset ()
 

Protected Member Functions

size_t MaxBlock () const
 
bool SetCoefs (const float coefs[], size_t size, bool reverse)
 

Protected Attributes

floatstate_
 
const floatcoefs_
 
size_t size_
 
size_t state_size_
 

Member Function Documentation

◆ SetCoefs()

bool daisysp::FIRMemory< 0, 0 >::SetCoefs ( const float coefs[],
size_t size,
bool reverse )
inlineprotected

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

◆ SetStateBuffer()

void daisysp::FIRMemory< 0, 0 >::SetStateBuffer ( float state[],
size_t length )
inline

Set user-provided state buffer

Parameters
state- pointer to the allocated memory block
length- length of the provided memory block (in elements) The length should be determined as follows length >= max_filter_size + max_processing_block - 1

The documentation for this struct was generated from the following file: