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