openMSX
sound
AudioInputDevice.hh
Go to the documentation of this file.
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
:
15
[[nodiscard]]
virtual
int16_t
readSample
(EmuTime::param time) = 0;
16
17
// Pluggable
18
[[nodiscard]] std::string_view
getClass
() const final;
19
};
20
21
}
// namespace openmsx
22
23
#endif
Pluggable.hh
openmsx::AudioInputDevice
Definition
AudioInputDevice.hh:10
openmsx::AudioInputDevice::readSample
virtual int16_t readSample(EmuTime::param time)=0
Read wave data.
openmsx::AudioInputDevice::getClass
std::string_view getClass() const final
A pluggable belongs to a certain class.
Definition
AudioInputDevice.cc:5
openmsx::Pluggable
Definition
Pluggable.hh:12
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