1#ifndef CASSETTEDEVICE_HH
2#define CASSETTEDEVICE_HH
16 virtual void setMotor(
bool status, EmuTime::param time) = 0;
27 virtual void setSignal(
bool output, EmuTime::param time) = 0;
30 [[nodiscard]] std::string_view
getClass() const final;
virtual int16_t readSample(EmuTime::param time)=0
Read wave data from cassette device.
virtual void setSignal(bool output, EmuTime::param time)=0
Sets the cassette output signal false = low true = high.
virtual void setMotor(bool status, EmuTime::param time)=0
Sets the cassette motor relay false = off true = on.
std::string_view getClass() const final
A pluggable belongs to a certain class.
This file implemented 3 utility functions: