openMSX
DummyCassetteDevice.cc
Go to the documentation of this file.
2
3namespace openmsx {
4
5void DummyCassetteDevice::setMotor(bool /*status*/, EmuTime::param /*time*/)
6{
7 // do nothing
8}
9
10int16_t DummyCassetteDevice::readSample(EmuTime::param /*time*/)
11{
12 return 32767; // TODO check value
13}
14
15void DummyCassetteDevice::setSignal(bool /*output*/, EmuTime::param /*time*/)
16{
17 // do nothing
18}
19
21{
22 return {};
23}
24
26 EmuTime::param /*time*/)
27{
28}
29
30void DummyCassetteDevice::unplugHelper(EmuTime::param /*time*/)
31{
32}
33
34} // namespace openmsx
Represents something you can plug devices into.
Definition Connector.hh:21
void unplugHelper(EmuTime::param time) override
int16_t readSample(EmuTime::param time) override
Read wave data from cassette device.
void setSignal(bool output, EmuTime::param time) override
Sets the cassette output signal false = low true = high.
void setMotor(bool status, EmuTime::param time) override
Sets the cassette motor relay false = off true = on.
void plugHelper(Connector &connector, EmuTime::param time) override
std::string_view getDescription() const override
Description for this pluggable.
This file implemented 3 utility functions:
Definition Autofire.cc:11