The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Bookkeeping class. More...
Public Member Functions | |
index_t (unsigned int src, unsigned int tgt, unsigned int dly) | |
Data constructor. More... | |
index_t () | |
Default constructor for STL compatibility. More... | |
Public Attributes | |
unsigned int | source_channel_index |
The input channel index to apply the current partition to. More... | |
unsigned int | target_channel_index |
The index of the output channel to which the filter result should go. More... | |
unsigned int | delay |
The delay (in blocks) of this partition. More... | |
Bookkeeping class.
For each impulse response partition, keeps track of which input to filter, which output channel to filter to, and the delay in blocks. Objects of class Index should be kept in an array with the same indices as the corresponding inpulse response partitions.
|
inline |
Data constructor.
src | The input channel index to apply the current partition to. |
tgt | The index of the output channel to which the filter result should go. |
dly | The delay (in blocks) of this partition |
|
inline |
Default constructor for STL compatibility.
unsigned int MHAFilter::partitioned_convolution_t::index_t::source_channel_index |
The input channel index to apply the current partition to.
unsigned int MHAFilter::partitioned_convolution_t::index_t::target_channel_index |
The index of the output channel to which the filter result should go.
unsigned int MHAFilter::partitioned_convolution_t::index_t::delay |
The delay (in blocks) of this partition.