OXYGENHUB
◆ main openmsx / src / sound / NullSoundDriver.hh
421 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef NULLSOUNDDRIVER_HH
2
#define NULLSOUNDDRIVER_HH
3
4
#include "SoundDriver.hh"
5
6
namespace openmsx {
7
8
class NullSoundDriver final : public SoundDriver
9
{
10
public:
11
	void mute() override;
12
	void unmute() override;
13
14
	[[nodiscard]] unsigned getFrequency() const override;
15
	[[nodiscard]] unsigned getSamples() const override;
16
17
	void uploadBuffer(std::span<const StereoFloat> buffer) override;
18
};
19
20
} // namespace openmsx
21
22
#endif