openMSX
sound
DummyAudioInputDevice.hh
Go to the documentation of this file.
1
#ifndef DUMMYAUDIOINPUTDEVICE_HH
2
#define DUMMYAUDIOINPUTDEVICE_HH
3
4
#include "
AudioInputDevice.hh
"
5
6
namespace
openmsx
{
7
8
class
DummyAudioInputDevice
final :
public
AudioInputDevice
9
{
10
public
:
11
[[nodiscard]] std::string_view
getDescription
()
const override
;
12
void
plugHelper
(
Connector
& connector, EmuTime::param time)
override
;
13
void
unplugHelper
(EmuTime::param time)
override
;
14
[[nodiscard]] int16_t
readSample
(EmuTime::param time)
override
;
15
};
16
17
}
// namespace openmsx
18
19
#endif
AudioInputDevice.hh
openmsx::AudioInputDevice
Definition
AudioInputDevice.hh:10
openmsx::Connector
Represents something you can plug devices into.
Definition
Connector.hh:21
openmsx::DummyAudioInputDevice
Definition
DummyAudioInputDevice.hh:9
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 Oct 5 2024 20:13:57 for openMSX by
1.9.8