OXYGENHUB
◆ main openmsx / src / sound / DummyAudioInputDevice.hh
450 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
e8555c89 Andy McCall 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]] zstring_view getDescription() const override;
12
	void plugHelper(Connector& connector, EmuTime time) override;
13
	void unplugHelper(EmuTime time) override;
14
	[[nodiscard]] int16_t readSample(EmuTime time) override;
15
};
16
17
} // namespace openmsx
18
19
#endif