12 #ifndef ROC_AUDIO_MIXER_H_
13 #define ROC_AUDIO_MIXER_H_
53 bool enable_timestamps);
80 const bool enable_timestamps_;
Mixer. Mixes multiple input streams into one output stream.
bool is_valid() const
Check if the mixer was succefully constructed.
void remove_input(IFrameReader &)
Remove input reader.
virtual bool read(Frame &frame)
Read audio frame.
Mixer(FrameFactory &frame_factory, const SampleSpec &sample_spec, bool enable_timestamps)
Initialize. buffer_factory is used to allocate a temporary buffer for mixing. enable_timestamps defin...
void add_input(IFrameReader &)
Add input reader.
Sample specification. Describes sample rate and channels.
Intrusive doubly-linked list.
Base class for non-copyable objects.
Intrusive doubly-linked list.
float sample_t
Raw audio sample.
int64_t nanoseconds_t
Nanoseconds.
Various units used in packets.