openMSX
DummyAudioInputDevice.cc
Go to the documentation of this file.
2
3namespace openmsx {
4
6{
7 return {};
8}
9
11 EmuTime::param /*time*/)
12{
13}
14
15void DummyAudioInputDevice::unplugHelper(EmuTime::param /*time*/)
16{
17}
18
19int16_t DummyAudioInputDevice::readSample(EmuTime::param /*time*/)
20{
21 return 0; // silence
22}
23
24} // namespace openmsx
Represents something you can plug devices into.
Definition Connector.hh:21
void plugHelper(Connector &connector, EmuTime::param time) override
void unplugHelper(EmuTime::param time) override
int16_t readSample(EmuTime::param time) override
Read wave data.
std::string_view getDescription() const override
Description for this pluggable.
This file implemented 3 utility functions:
Definition Autofire.cc:11