11 class ResampledSoundDevice;
13 template<
unsigned CHANNELS>
17 static std::unique_ptr<ResampleLQ<CHANNELS>>
create(
22 [[nodiscard]]
bool fetchData(EmuTime::param time,
unsigned& valid);
31 template<
unsigned CHANNELS>
37 bool generateOutputImpl(
float* dataOut,
unsigned num,
38 EmuTime::param time)
override;
42 template<
unsigned CHANNELS>
48 bool generateOutputImpl(
float* dataOut,
unsigned num,
49 EmuTime::param time)
override;
constexpr unsigned CHANNELS
Represents a clock with a variable frequency.
A fixed point number, implemented by a 32-bit signed integer.
ResampledSoundDevice & input
ResampleLQDown(ResampledSoundDevice &input, const DynamicClock &hostClock)
ResampleLQUp(ResampledSoundDevice &input, const DynamicClock &hostClock)
ResampleLQ(ResampledSoundDevice &input, const DynamicClock &hostClock)
bool fetchData(EmuTime::param time, unsigned &valid)
float lastInput[2 *CHANNELS]
static std::unique_ptr< ResampleLQ< CHANNELS > > create(ResampledSoundDevice &input, const DynamicClock &hostClock)
const DynamicClock & hostClock
This file implemented 3 utility functions: