21#include "livekit/audio_frame.h"
22#include "livekit/ffi_handle.h"
159 bool valid() const noexcept {
return handle_.valid(); }
162 std::uint64_t ffi_handle_id() const noexcept {
163 return static_cast<std::uint64_t
>(handle_.get());
Represents a raw PCM audio frame with interleaved int16 samples.
Definition audio_frame.h:37
WebRTC Audio Processing Module (APM) for real-time audio enhancement.
Definition audio_processing_module.h:44
AudioProcessingModule(const Options &options)
Create a new Audio Processing Module with the specified options.
void processReverseStream(AudioFrame &frame)
Process the reverse (far-end/speaker) audio stream.
void processStream(AudioFrame &frame)
Process the forward (near-end/microphone) audio stream.
AudioProcessingModule()
Create a new Audio Processing Module with default options (all disabled).
void setStreamDelayMs(int delay_ms)
Set the estimated delay between the reverse and forward streams.
Configuration options for the Audio Processing Module.
Definition audio_processing_module.h:49
bool echo_cancellation
Definition audio_processing_module.h:52
bool noise_suppression
Definition audio_processing_module.h:56
bool high_pass_filter
Definition audio_processing_module.h:60
bool auto_gain_control
Definition audio_processing_module.h:64
Options()=default
Default constructor.