19 void reset(EmuTime::param time);
20 void writeDAC(int16_t value, EmuTime::param time);
22 template<
typename Archive>
23 void serialize(Archive& ar,
unsigned version);
27 void setOutputRate(
unsigned hostSampleRate,
double speed)
override;
28 void generateChannels(std::span<float*> bufs,
unsigned num)
override;
29 bool updateBuffer(
size_t length,
float* buffer,
30 EmuTime::param time)
override;
34 int16_t lastWrittenValue = 0;
DACSound16S(std::string_view name, static_string_view desc, const DeviceConfig &config)
void reset(EmuTime::param time)
void serialize(Archive &ar, unsigned version)
void writeDAC(int16_t value, EmuTime::param time)
T length(const vecN< N, T > &x)
This file implemented 3 utility functions: