openMSX
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 
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
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:9