openMSX
NullSoundDriver.hh
Go to the documentation of this file.
1 #ifndef NULLSOUNDDRIVER_HH
2 #define NULLSOUNDDRIVER_HH
3 
4 #include "SoundDriver.hh"
5 
6 namespace openmsx {
7 
9 {
10 public:
11  virtual void mute();
12  virtual void unmute();
13 
14  virtual unsigned getFrequency() const;
15  virtual unsigned getSamples() const;
16 
17  virtual void uploadBuffer(short* buffer, unsigned len);
18 };
19 
20 } // namespace openmsx
21 
22 #endif
virtual unsigned getFrequency() const
Returns the actual sample frequency.
virtual unsigned getSamples() const
Get the number of samples that should be created 'per fragment'.
virtual void mute()
Mute the sound system.
virtual void uploadBuffer(short *buffer, unsigned len)
virtual void unmute()
Unmute the sound system.