openMSX
sound
DummyAudioInputDevice.cc
Go to the documentation of this file.
1
#include "
DummyAudioInputDevice.hh
"
2
3
namespace
openmsx
{
4
5
std::string_view
DummyAudioInputDevice::getDescription
()
const
6
{
7
return
{};
8
}
9
10
void
DummyAudioInputDevice::plugHelper
(
Connector
&
/*connector*/
,
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
DummyAudioInputDevice.hh
openmsx::Connector
Represents something you can plug devices into.
Definition
Connector.hh:21
openmsx::DummyAudioInputDevice::plugHelper
void plugHelper(Connector &connector, EmuTime::param time) override
Definition
DummyAudioInputDevice.cc:10
openmsx::DummyAudioInputDevice::unplugHelper
void unplugHelper(EmuTime::param time) override
Definition
DummyAudioInputDevice.cc:15
openmsx::DummyAudioInputDevice::readSample
int16_t readSample(EmuTime::param time) override
Read wave data.
Definition
DummyAudioInputDevice.cc:19
openmsx::DummyAudioInputDevice::getDescription
std::string_view getDescription() const override
Description for this pluggable.
Definition
DummyAudioInputDevice.cc:5
openmsx
This file implemented 3 utility functions:
Definition
Autofire.cc:11
Generated on Sat Dec 21 2024 14:13:52 for openMSX by
1.9.8