openMSX
|
#include <ResampleLQ.hh>
Static Public Member Functions | |
static std::unique_ptr< ResampleLQ< CHANNELS > > | create (ResampledSoundDevice &input, const DynamicClock &hostClock) |
Protected Types | |
using | FP = FixedPoint< 14 > |
Protected Member Functions | |
ResampleLQ (ResampledSoundDevice &input, const DynamicClock &hostClock) | |
bool | fetchData (EmuTime::param time, unsigned &valid) |
Protected Member Functions inherited from openmsx::ResampleAlgo | |
ResampleAlgo (ResampledSoundDevice &input_) | |
DynamicClock & | getEmuClock () const |
virtual bool | generateOutputImpl (float *dataOut, size_t num, EmuTime::param time)=0 |
Protected Attributes | |
const DynamicClock & | hostClock |
const FP | step |
std::array< float, 2 *CHANNELS > | lastInput |
Protected Attributes inherited from openmsx::ResampleAlgo | |
ResampledSoundDevice & | input |
Additional Inherited Members | |
Public Member Functions inherited from openmsx::ResampleAlgo | |
virtual | ~ResampleAlgo ()=default |
bool | generateOutput (float *dataOut, size_t num, EmuTime::param time) |
Definition at line 15 of file ResampleLQ.hh.
|
protected |
Definition at line 27 of file ResampleLQ.hh.
|
protected |
|
static |
Definition at line 24 of file ResampleLQ.cc.
References openmsx::ResampledSoundDevice::getEmuClock(), and openmsx::DynamicClock::getPeriod().
Referenced by openmsx::ResampledSoundDevice::createResampler().
|
protected |
Definition at line 58 of file ResampleLQ.cc.
References ranges::all_of(), ranges::fill(), and xrange().
|
protected |
Definition at line 26 of file ResampleLQ.hh.
Referenced by openmsx::ResampleLQ< CHANNELS >::ResampleLQ().
|
protected |
Definition at line 29 of file ResampleLQ.hh.
|
protected |
Definition at line 28 of file ResampleLQ.hh.