| 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 |
} |
| 18 |
|
| 19 |
#endif |