Switchboard SDK
Loading...
Searching...
No Matches
switchboard::SampleRateRegulator Class Reference

Converts an audio stream with variable sample rate to a fixed sample rate buffer stream. More...

#include <SampleRateRegulator.hpp>

Public Member Functions

 SampleRateRegulator (const uint targetSampleRate, const SampleRateRegulatorCallbackFunction callback, void *userPointer)
 
bool process (float *buffer, const uint numberOfSamples, const uint sampleRate)
 

Detailed Description

Converts an audio stream with variable sample rate to a fixed sample rate buffer stream.