openMSX
|
#include <NullSoundDriver.hh>
Public Member Functions | |
void | mute () override |
Mute the sound system. | |
void | unmute () override |
Unmute the sound system. | |
unsigned | getFrequency () const override |
Returns the actual sample frequency. | |
unsigned | getSamples () const override |
Get the number of samples that should be created 'per fragment'. | |
void | uploadBuffer (std::span< const StereoFloat > buffer) override |
Public Member Functions inherited from openmsx::SoundDriver | |
virtual | ~SoundDriver ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::SoundDriver | |
SoundDriver ()=default | |
Definition at line 8 of file NullSoundDriver.hh.
|
overridevirtual |
Returns the actual sample frequency.
This might be different from the requested frequency ('frequency' setting).
Implements openmsx::SoundDriver.
Definition at line 13 of file NullSoundDriver.cc.
|
overridevirtual |
Get the number of samples that should be created 'per fragment'.
This is not the same value as the 'samples setting'.
Implements openmsx::SoundDriver.
Definition at line 18 of file NullSoundDriver.cc.
|
overridevirtual |
Mute the sound system.
Implements openmsx::SoundDriver.
Definition at line 5 of file NullSoundDriver.cc.
|
overridevirtual |
Unmute the sound system.
Implements openmsx::SoundDriver.
Definition at line 9 of file NullSoundDriver.cc.
|
overridevirtual |
Implements openmsx::SoundDriver.
Definition at line 23 of file NullSoundDriver.cc.