12class ResampledSoundDevice;
14template<
unsigned CHANNELS>
30 EmuTime::param time)
override;
33 void calcOutput(
float pos,
float* output);
34 void prepareData(
unsigned emuNum);
41 unsigned nonzeroSamples = 0;
43 std::vector<float> buffer;
45 std::span<const int16_t, HALF_TAB_LEN> permute;
Represents a clock with a variable frequency.
ResampledSoundDevice & input
ResampleHQ(const ResampleHQ &)=delete
ResampleHQ & operator=(const ResampleHQ &)=delete
bool generateOutputImpl(float *dataOut, size_t num, EmuTime::param time) override
static constexpr size_t TAB_LEN
ResampleHQ & operator=(ResampleHQ &&)=delete
static constexpr size_t HALF_TAB_LEN
ResampleHQ(ResampleHQ &&)=delete
This file implemented 3 utility functions: