openMSX
Public Member Functions | List of all members
openmsx::NullSoundDriver Class Referencefinal

#include <NullSoundDriver.hh>

Inheritance diagram for openmsx::NullSoundDriver:
Inheritance graph
[legend]
Collaboration diagram for openmsx::NullSoundDriver:
Collaboration graph
[legend]

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 (float *buffer, unsigned len) override
 
- Public Member Functions inherited from openmsx::SoundDriver
virtual ~SoundDriver ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::SoundDriver
 SoundDriver ()=default
 

Detailed Description

Definition at line 8 of file NullSoundDriver.hh.

Member Function Documentation

◆ getFrequency()

unsigned openmsx::NullSoundDriver::getFrequency ( ) const
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.

◆ getSamples()

unsigned openmsx::NullSoundDriver::getSamples ( ) const
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.

◆ mute()

void openmsx::NullSoundDriver::mute ( )
overridevirtual

Mute the sound system.

Implements openmsx::SoundDriver.

Definition at line 5 of file NullSoundDriver.cc.

◆ unmute()

void openmsx::NullSoundDriver::unmute ( )
overridevirtual

Unmute the sound system.

Implements openmsx::SoundDriver.

Definition at line 9 of file NullSoundDriver.cc.

◆ uploadBuffer()

void openmsx::NullSoundDriver::uploadBuffer ( float *  buffer,
unsigned  len 
)
overridevirtual

Implements openmsx::SoundDriver.

Definition at line 23 of file NullSoundDriver.cc.


The documentation for this class was generated from the following files: