ac2wave real-time configuration class
More...
ac2wave real-time configuration class
◆ ac2wave_t()
ac2wave::ac2wave_t::ac2wave_t |
( |
unsigned int |
frames_, |
|
|
unsigned int |
channels_, |
|
|
MHA_AC::algo_comm_t & |
ac_, |
|
|
std::string |
name_, |
|
|
float |
gain_in_, |
|
|
float |
gain_ac_, |
|
|
unsigned int |
delay_in_, |
|
|
unsigned int |
delay_ac_ |
|
) |
| |
Constructor of the real-time configuration.
- Parameters
-
frames_ | Number of frames in the input signal |
channels_ | Number of channels in the input signal |
ac_ | Handle to AC space |
name_ | Name of the AC variable to be mixed in |
gain_in_ | Linear gain for the input signal |
gain_ac_ | Linear gain for the AC input |
delay_in_ | Delay, in fragments, for the input signal |
delay_ac_ | Delay, in fragments, for the AC input |
◆ process()
Process callback.
- Parameters
-
s | Pointer to input waveform |
- Returns
- Pointer to output waveform
◆ frames
unsigned int ac2wave::ac2wave_t::frames |
|
private |
frames_ Number of frames in the input signal
◆ channels
unsigned int ac2wave::ac2wave_t::channels |
|
private |
Number of channels in the input signal.
◆ ac
◆ name
std::string ac2wave::ac2wave_t::name |
|
private |
Name of the input AC variable.
◆ delay_in
Delay, in fragments, for the input signal.
◆ delay_ac
Delay, in fragments, for the AC input.
◆ gain_in
Linear gain for the input signal.
◆ gain_ac
Linear gain for the AC input.
The documentation for this class was generated from the following file: