r8brain-free-src
High-quality pro audio sample rate converter library
 
Loading...
Searching...
No Matches
r8b::CDSPFracDelayFilterBankCache Class Reference

Fractional delay filter cache class. More...

#include <CDSPFracInterpolator.h>

Inheritance diagram for r8b::CDSPFracDelayFilterBankCache:

Static Public Member Functions

static CDSPFracDelayFilterBankgetFilterBank (const int aFilterFracs, const int aElementSize, const int aInterpPoints, double ReqAtten, const bool IsThird, const bool IsStatic)
 Calculates or returns reference to a previously calculated (cached) fractional delay filter bank.
 

Static Protected Member Functions

static CSyncObjectgetStateSync ()
 Returns reference to global filter bank cache sync object.
 

Friends

class CDSPFracDelayFilterBank
 

Detailed Description

Fractional delay filter cache class.

Class implements cache storage of fractional delay filter banks.

Member Function Documentation

◆ getFilterBank()

static CDSPFracDelayFilterBank & r8b::CDSPFracDelayFilterBankCache::getFilterBank ( const int aFilterFracs,
const int aElementSize,
const int aInterpPoints,
double ReqAtten,
const bool IsThird,
const bool IsStatic )
static

Calculates or returns reference to a previously calculated (cached) fractional delay filter bank.

Parameters
aFilterFracsThe number of fractional delay positions to sample, -1 - use default.
aElementSizeThe size of each filter's tap, in "double" values.
aInterpPointsThe number of points the interpolation is based on.
ReqAttenRequired filter attentuation.
IsThirdtrue if one-third filter is required.
IsStatictrue if a permanent static filter should be returned that is never removed from the cache until application terminates.
Returns
Reference to a filter bank.