a structure containing a source channel number, a target channel number, and an impulse response.
More...
a structure containing a source channel number, a target channel number, and an impulse response.
◆ transfer_function_t() [1/2]
MHAFilter::transfer_function_t::transfer_function_t |
( |
| ) |
|
|
inline |
Default constructor for STL conformity.
Not used.
◆ transfer_function_t() [2/2]
MHAFilter::transfer_function_t::transfer_function_t |
( |
unsigned int |
source_channel_index, |
|
|
unsigned int |
target_channel_index, |
|
|
const std::vector< float > & |
impulse_response |
|
) |
| |
Data constructor.
- Parameters
-
source_channel_index | Source audio channel index for this transfer function |
target_channel_index | Target audio channel index for this transfer function |
impulse_response | Impulse response of transfer from source to target channel |
◆ partitions()
unsigned int MHAFilter::transfer_function_t::partitions |
( |
unsigned int |
fragsize | ) |
const |
|
inline |
for the given partition size, return the number of partitions of the impulse response.
- Parameters
-
- Returns
- number of partitions occupied by the impulse response
◆ non_empty_partitions()
unsigned int MHAFilter::transfer_function_t::non_empty_partitions |
( |
unsigned int |
fragsize | ) |
const |
|
inline |
for the given partition size, return the number of non-empty partitions of the impulse response.
- Parameters
-
- Returns
- the number of non-empty partitions of the impulse response, i.e. partitions containing only zeros are not counted.
◆ isempty()
bool MHAFilter::transfer_function_t::isempty |
( |
unsigned int |
fragsize, |
|
|
unsigned int |
index |
|
) |
| const |
|
inline |
checks if the partition contains only zeros
- Parameters
-
fragsize | partition size |
index | partition index |
- Returns
- true when this partition of the impulse response contains only zeros.
◆ source_channel_index
unsigned int MHAFilter::transfer_function_t::source_channel_index |
Source audio channel index for this transfer function.
◆ target_channel_index
unsigned int MHAFilter::transfer_function_t::target_channel_index |
Target audio channel index for this transfer function.
◆ impulse_response
std::vector<float> MHAFilter::transfer_function_t::impulse_response |
Impulse response of transfer from source to target channel.
The documentation for this struct was generated from the following files: