OXYGENHUB
◆ main openmsx / src / sound / DummyAudioInputDevice.cc
435 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#include "DummyAudioInputDevice.hh"
2
3
namespace openmsx {
4
5
zstring_view DummyAudioInputDevice::getDescription() const
6
{
7
	return {};
8
}
9
10
void DummyAudioInputDevice::plugHelper(Connector& /*connector*/,
11
                                       EmuTime /*time*/)
12
{
13
}
14
15
void DummyAudioInputDevice::unplugHelper(EmuTime /*time*/)
16
{
17
}
18
19
int16_t DummyAudioInputDevice::readSample(EmuTime /*time*/)
20
{
21
	return 0; // silence
22
}
23
24
} // namespace openmsx