![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Go to the source code of this file.
Typedefs | |
| typedef struct echo_cancellation | echo_cancellation_t |
Functions | |
| struct audio_frame * | echo_cancel (struct echo_cancellation *state, struct audio_frame *frame) |
| void | echo_cancellation_destroy (struct echo_cancellation *state) |
| struct echo_cancellation * | echo_cancellation_init (void) |
| void | echo_play (struct echo_cancellation *state, struct audio_frame *frame) |
| typedef struct echo_cancellation echo_cancellation_t |
| struct audio_frame * echo_cancel | ( | struct echo_cancellation * | state, |
| struct audio_frame * | frame ) |
Definition at line 235 of file echo.cpp.
References audio_export_raw_ch(), audio_frame::bps, change_bps(), audio_frame::data, audio_frame::data_len, echo_cancellation::echo_state, error_msg, echo_cancellation::exporter, echo_cancellation::far_end_ringbuf, echo_cancellation::frame, frame, echo_cancellation::lock, LOG_LEVEL_INFO, LOG_LEVEL_WARNING, log_msg(), audio_frame::max_size, MOD_NAME, echo_cancellation::near_end_ringbuf, echo_cancellation::next_expected_near, echo_cancellation::prefill, reconfigure_echo(), echo_cancellation::requested_delay, ring_advance_read_idx(), ring_advance_write_idx(), ring_buffer_read(), ring_buffer_write(), ring_get_available_write_size(), ring_get_current_size(), ring_get_write_regions(), audio_frame::sample_rate, and SAMPLES_PER_FRAME.
Referenced by audio_sender_thread().

| void echo_cancellation_destroy | ( | struct echo_cancellation * | state | ) |
| struct echo_cancellation * echo_cancellation_init | ( | void | ) |
Definition at line 132 of file echo.cpp.
References audio_frame::bps, audio_frame::data, DEFAULT_FILTER_LENGTH, echo_cancellation::echo_state, echo_cancellation::far_end_ringbuf, echo_cancellation::frame, echo_cancellation::frame_data, get_commandline_param(), len, LOG_LEVEL_NOTICE, log_msg(), audio_frame::max_size, MOD_NAME, echo_cancellation::near_end_ringbuf, param, echo_cancellation::prefill, echo_cancellation::requested_delay, ring_buffer_init(), audio_frame::sample_rate, and SAMPLES_PER_FRAME.
Referenced by audio_init().

| void echo_play | ( | struct echo_cancellation * | state, |
| struct audio_frame * | frame ) |
Definition at line 179 of file echo.cpp.
References change_bps(), error_msg, echo_cancellation::far_end_ringbuf, frame, echo_cancellation::lock, LOG_LEVEL_NOTICE, LOG_LEVEL_WARNING, log_msg(), MOD_NAME, echo_cancellation::prefill, ring_advance_write_idx(), ring_buffer_write(), ring_get_available_write_size(), ring_get_current_size(), ring_get_write_regions(), and SAMPLES_PER_FRAME.
Referenced by audio_receiver_thread().
