12 #ifndef ROC_AUDIO_RESAMPLER_WRITER_H_
13 #define ROC_AUDIO_RESAMPLER_WRITER_H_
50 size_t push_input_(
Frame& in_frame,
size_t in_pos);
62 size_t input_buf_pos_;
63 size_t output_buf_pos_;
Resampler element for writing pipeline.
virtual void write(Frame &)
Read audio frame.
bool set_scaling(float multiplier)
Set new resample factor.
ResamplerWriter(IFrameWriter &writer, IResampler &resampler, FrameFactory &frame_factory, const SampleSpec &in_sample_spec, const SampleSpec &out_sample_spec)
Initialize.
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.