21 void reset(EmuTime::param time);
22 void writePort(
bool port,
byte value, EmuTime::param time);
23 void pokeReg(
byte reg,
byte value, EmuTime::param time);
25 template<
typename Archive>
26 void serialize(Archive& ar,
unsigned version);
30 void setOutputRate(
unsigned hostSampleRate,
double speed)
override;
31 void generateChannels(std::span<float*> bufs,
unsigned num)
override;
32 [[nodiscard]]
float getAmplificationFactorImpl()
const override;
35 const std::unique_ptr<YM2413Core> core;
39 [[nodiscard]]
byte read(
unsigned address)
override;
40 void write(
unsigned address,
byte value, EmuTime::param time)
override;