OXYGENHUB
◆ main openmsx / src / sound / ResampleTrivial.cc
402 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
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 /*time*/)
14
{
15
	getEmuClock() += num;
16
	return input.generateInput(dataOut, num);
17
}
18
19
} // namespace openmsx