| e8555c89 Andy McCall |
1 |
#include "ResampleTrivial.hh" |
| 2 |
|
| 3 |
#include "ResampledSoundDevice.hh" |
| 4 |
|
| 5 |
namespace openmsx { |
| 6 |
|
| 7 |
ResampleTrivial::ResampleTrivial(ResampledSoundDevice& input_) |
| 8 |
: ResampleAlgo(input_) |
| 9 |
{ |
| 10 |
} |
| 11 |
|
| 12 |
bool ResampleTrivial::generateOutputImpl(float* dataOut, size_t num, |
| 13 |
EmuTime ) |
| 14 |
{ |
| 15 |
getEmuClock() += num; |
| 16 |
return input.generateInput(dataOut, num); |
| 17 |
} |
| 18 |
|
| 19 |
} |