Added possibility to get size of filterbank
This commit is contained in:
parent
5dbccf4797
commit
60a5c63748
@ -21,6 +21,13 @@ typedef struct Sosfilterbank {
|
||||
dmat state;
|
||||
} Sosfilterbank;
|
||||
|
||||
us Sosfilterbank_getFilterbankSize(const Sosfilterbank* fb) {
|
||||
fsTRACE(15);
|
||||
assertvalidptr(fb);
|
||||
return fb->filterbank_size;
|
||||
feTRACE(15);
|
||||
|
||||
}
|
||||
|
||||
Sosfilterbank* Sosfilterbank_create(const us filterbank_size,
|
||||
const us nsections) {
|
||||
|
@ -23,6 +23,14 @@ typedef struct Sosfilterbank Sosfilterbank;
|
||||
Sosfilterbank* Sosfilterbank_create(const us filterbank_size,
|
||||
const us nsections);
|
||||
|
||||
/**
|
||||
* Returns the number of channels in the filterbank (the filberbank size).
|
||||
*
|
||||
* @param[in] fb: Filterbank handle
|
||||
* @return The number of filters in the bank
|
||||
* */
|
||||
us Sosfilterbank_getFilterbankSize(const Sosfilterbank* fb);
|
||||
|
||||
/**
|
||||
* Initialize the filter coeficients in the filterbank
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user