| e8555c89 Andy McCall |
1 |
#ifndef AUDIOINPUTDEVICE_HH |
| 2 |
#define AUDIOINPUTDEVICE_HH |
| 3 |
|
| 4 |
#include "Pluggable.hh" |
| 5 |
#include <cstdint> |
| 6 |
|
| 7 |
namespace openmsx { |
| 8 |
|
| 9 |
class AudioInputDevice : public Pluggable |
| 10 |
{ |
| 11 |
public: |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
[[nodiscard]] virtual int16_t readSample(EmuTime time) = 0; |
| 16 |
|
| 17 |
|
| 18 |
[[nodiscard]] zstring_view getClass() const final; |
| 19 |
}; |
| 20 |
|
| 21 |
} |
| 22 |
|
| 23 |
#endif |