17 #ifndef MT32EMU_SAMPLE_RATE_CONVERTER_H 18 #define MT32EMU_SAMPLE_RATE_CONVERTER_H 22 #include "Enumerations.h" 38 static AnalogOutputMode getBestAnalogOutputMode(
double targetSampleRate);
42 static double getSupportedOutputSampleRate(
double desiredSampleRate);
51 void getOutputSamples(MT32Emu::Bit16s *buffer,
unsigned int length);
55 void getOutputSamples(
float *buffer,
unsigned int length);
60 double convertOutputToSynthTimestamp(
double outputTimestamp)
const;
65 double convertSynthToOutputTimestamp(
double synthTimestamp)
const;
68 const double synthInternalToTargetSampleRateRatio;
69 const bool useSynthDelegate;
70 void *
const srcDelegate;
75 #endif // MT32EMU_SAMPLE_RATE_CONVERTER_H
Definition: SampleRateConverter.h:34