12#ifndef ROC_AUDIO_FRAME_H_
13#define ROC_AUDIO_FRAME_H_
void set_flags(unsigned flags)
Set flags.
unsigned flags() const
Get flags.
Frame(sample_t *samples, size_t num_samples)
Construct frame from samples.
void print() const
Print frame to stderr.
size_t num_samples() const
Get frame data size.
sample_t * samples() const
Get frame data.
@ FlagNonblank
Set if the frame has at least some samples from packets. If this flag is clear, frame is completely z...
@ FlagDrops
Set if some late packets were dropped while the frame was being built. It's not necessarty that the f...
@ FlagIncomplete
Set if the frame is not fully filled with samples from packets. If this flag is set,...
Base class for non-copyable objects.
float sample_t
Audio sample.