openMSX
ResampleTrivial.hh
Go to the documentation of this file.
1 #ifndef RESAMPLETRIVIAL_HH
2 #define RESAMPLETRIVIAL_HH
3 
4 #include "ResampleAlgo.hh"
5 
6 namespace openmsx {
7 
8 class ResampledSoundDevice;
9 
10 class ResampleTrivial final : public ResampleAlgo
11 {
12 public:
14  bool generateOutput(int* dataOut, unsigned num,
15  EmuTime::param time) override;
16 
17 private:
18  ResampledSoundDevice& input;
19 };
20 
21 } // namespace openmsx
22 
23 #endif
ResampleTrivial(ResampledSoundDevice &input)
bool generateOutput(int *dataOut, unsigned num, EmuTime::param time) override