openMSX
ResampleTrivial.cc
Go to the documentation of this file.
1#include "ResampleTrivial.hh"
3#include <cassert>
4
5namespace openmsx {
6
11
12bool ResampleTrivial::generateOutputImpl(float* dataOut, size_t num,
13 EmuTime::param /*time*/)
14{
15 getEmuClock() += num;
16 return input.generateInput(dataOut, num);
17}
18
19} // namespace openmsx
ResampledSoundDevice & input
DynamicClock & getEmuClock() const
ResampleTrivial(ResampledSoundDevice &input)
bool generateOutputImpl(float *dataOut, size_t num, EmuTime::param time) override
bool generateInput(float *buffer, size_t num)
Note: To enable various optimizations (like SSE), this method is allowed to generate up to 3 extra sa...
This file implemented 3 utility functions:
Definition Autofire.cc:11