18 #ifndef MT32EMU_ANALOG_H 19 #define MT32EMU_ANALOG_H 22 #include "internals.h" 23 #include "Enumerations.h" 39 static Analog *createAnalog(
const AnalogOutputMode mode,
const bool oldMT32AnalogLPF,
const RendererType rendererType);
42 virtual unsigned int getOutputSampleRate()
const = 0;
43 virtual Bit32u getDACStreamsLength(
const Bit32u outputLength)
const = 0;
44 virtual void setSynthOutputGain(
const float synthGain) = 0;
45 virtual void setReverbOutputGain(
const float reverbGain,
const bool mt32ReverbCompatibilityMode) = 0;
47 virtual bool process(IntSample *outStream,
const IntSample *nonReverbLeft,
const IntSample *nonReverbRight,
const IntSample *reverbDryLeft,
const IntSample *reverbDryRight,
const IntSample *reverbWetLeft,
const IntSample *reverbWetRight, Bit32u outLength) = 0;
48 virtual bool process(FloatSample *outStream,
const FloatSample *nonReverbLeft,
const FloatSample *nonReverbRight,
const FloatSample *reverbDryLeft,
const FloatSample *reverbDryRight,
const FloatSample *reverbWetLeft,
const FloatSample *reverbWetRight, Bit32u outLength) = 0;
53 #endif // #ifndef MT32EMU_ANALOG_H