Coefficient vector must be created in a form that lists set of taps for each channel at a time as an argument to the constructor in the following form:
std::vector<TT_COEFF> coeffVector = { CN-1.0, CN-1.1, CN-1.2, CN-1.2, ..., CN-1.M-2, CN-1.M-1, CN-2.0, CN-2.1, CN-2.2, CN-2.2, ..., CN-2.M-2, CN-2.M-1, ... C2.0, C2.1, C2.2, C2.2, ..., C2.M-2, C2.M-1, C1.0, C1.1, C1.2, C1.2, ..., C1.M-2, C1.M-1, CN0.0, C0.1, C0.2, C0.2, ..., C0.M-2, C0.M-1, };
where:
- TT_COEFF - coefficient type, e.g.
int16
, - N - FIR Length, i.e. number of taps on each channel (
TP_FIR_LEN
), - M - Number of TDM Channels (
TP_TDM_CHANNELS
).