12 #ifndef ROC_AUDIO_RESAMPLER_READER_H_
13 #define ROC_AUDIO_RESAMPLER_READER_H_
Resampler element for reading pipeline.
ResamplerReader(IFrameReader &reader, IResampler &resampler, const SampleSpec &in_sample_spec, const SampleSpec &out_sample_spec)
Initialize.
bool set_scaling(float multiplier)
Set new resample factor.
virtual bool read(Frame &)
Read audio frame.
bool is_valid() const
Check if object is successfully constructed.
Sample specification. Describes sample rate and channels.
Base class for non-copyable objects.
Audio resampler interface.
int64_t nanoseconds_t
Nanoseconds.
Commonly used types and functions.
Various units used in packets.