openMSX
|
#include <NullSoundDriver.hh>
Public Member Functions | |
void | mute () override |
Mute the sound system. More... | |
void | unmute () override |
Unmute the sound system. More... | |
unsigned | getFrequency () const override |
Returns the actual sample frequency. More... | |
unsigned | getSamples () const override |
Get the number of samples that should be created 'per fragment'. More... | |
void | uploadBuffer (std::span< const StereoFloat > buffer) override |
![]() | |
virtual | ~SoundDriver ()=default |
virtual void | mute ()=0 |
Mute the sound system. More... | |
virtual void | unmute ()=0 |
Unmute the sound system. More... | |
virtual unsigned | getFrequency () const =0 |
Returns the actual sample frequency. More... | |
virtual unsigned | getSamples () const =0 |
Get the number of samples that should be created 'per fragment'. More... | |
virtual void | uploadBuffer (std::span< const StereoFloat > buffer)=0 |
Additional Inherited Members | |
![]() | |
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.