ScummVM API documentation
MT32Emu::SampleRateConverter Class Reference

Public Member Functions

 SampleRateConverter (Synth &synth, double targetSampleRate, SamplerateConversionQuality quality)
 
void getOutputSamples (MT32Emu::Bit16s *buffer, unsigned int length)
 
void getOutputSamples (float *buffer, unsigned int length)
 
double convertOutputToSynthTimestamp (double outputTimestamp) const
 
double convertSynthToOutputTimestamp (double synthTimestamp) const
 

Static Public Member Functions

static AnalogOutputMode getBestAnalogOutputMode (double targetSampleRate)
 
static double getSupportedOutputSampleRate (double desiredSampleRate)
 

The documentation for this class was generated from the following file: