openMSX
NullSoundDriver.cc
Go to the documentation of this file.
1 #include "NullSoundDriver.hh"
2 
3 namespace openmsx {
4 
6 {
7 }
8 
10 {
11 }
12 
14 {
15  return 44100;
16 }
17 
19 {
20  return 0;
21 }
22 
23 void NullSoundDriver::uploadBuffer(float* /*buffer*/, unsigned /*len*/)
24 {
25 }
26 
27 } // namespace openmsx
openmsx::NullSoundDriver::mute
void mute() override
Mute the sound system.
Definition: NullSoundDriver.cc:5
openmsx::NullSoundDriver::uploadBuffer
void uploadBuffer(float *buffer, unsigned len) override
Definition: NullSoundDriver.cc:23
openmsx::NullSoundDriver::unmute
void unmute() override
Unmute the sound system.
Definition: NullSoundDriver.cc:9
openmsx::NullSoundDriver::getFrequency
unsigned getFrequency() const override
Returns the actual sample frequency.
Definition: NullSoundDriver.cc:13
openmsx::NullSoundDriver::getSamples
unsigned getSamples() const override
Get the number of samples that should be created 'per fragment'.
Definition: NullSoundDriver.cc:18
NullSoundDriver.hh
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5