1 #ifndef AUDIOGRAPHER_SR_CONVERTER_H
2 #define AUDIOGRAPHER_SR_CONVERTER_H
4 #include <samplerate.h>
#define LIBAUDIOGRAPHER_API
A debugging class for nodes that support a certain set of flags.
An generic Source that uses a std::list for managing outputs.
samplecnt_t max_leftover_samples
samplecnt_t leftover_samples
void process(ProcessContext< float > const &c)
samplecnt_t max_samples_in
SampleRateConverter(uint32_t channels)
Constructor. RT safe.
samplecnt_t allocate_buffers(samplecnt_t max_samples)
Returns max amount of samples that will be output RT safe.
void init(samplecnt_t in_rate, samplecnt_t out_rate, int quality=0)
Init converter Not RT safe.
void set_end_of_input(ProcessContext< float > const &c)
samplecnt_t data_out_size