openMSX
Main Page
Namespaces
Classes
Files
File List
File Members
sound
ResampleTrivial.cc
Go to the documentation of this file.
1
#include "
ResampleTrivial.hh
"
2
#include "
ResampledSoundDevice.hh
"
3
#include "
build-info.hh
"
4
#include <cassert>
5
6
namespace
openmsx {
7
8
ResampleTrivial::ResampleTrivial
(
ResampledSoundDevice
& input_)
9
: input(input_)
10
{
11
}
12
13
bool
ResampleTrivial::generateOutput
(
int
* dataOut,
unsigned
num,
14
EmuTime::param
/*time*/
)
15
{
16
#if ASM_X86
17
assert((
long
(dataOut) & 15) == 0);
// must be 16-byte aligned
18
#endif
19
return
input.
generateInput
(dataOut, num);
20
}
21
22
}
// namespace openmsx
Generated on Mon Jun 17 2013 22:18:17 for openMSX by
1.8.1.2