openMSX
|
#include <LibAOSoundDriver.hh>
Public Member Functions | |
LibAOSoundDriver (unsigned sampleRate, unsigned bufferSize) | |
virtual | ~LibAOSoundDriver () |
virtual void | mute () |
Mute the sound system. More... | |
virtual void | unmute () |
Unmute the sound system. More... | |
virtual unsigned | getFrequency () const |
Returns the actual sample frequency. More... | |
virtual unsigned | getSamples () const |
Get the number of samples that should be created 'per fragment'. More... | |
virtual void | uploadBuffer (short *buffer, unsigned len) |
Public Member Functions inherited from openmsx::SoundDriver | |
virtual | ~SoundDriver () |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::SoundDriver | |
SoundDriver () | |
Definition at line 11 of file LibAOSoundDriver.hh.
openmsx::LibAOSoundDriver::LibAOSoundDriver | ( | unsigned | sampleRate, |
unsigned | bufferSize | ||
) |
Definition at line 11 of file LibAOSoundDriver.cc.
References openmsx::DiskImageUtils::format().
|
virtual |
Definition at line 32 of file LibAOSoundDriver.cc.
|
virtual |
Returns the actual sample frequency.
This might be different from the requested frequency ('frequency' setting).
Implements openmsx::SoundDriver.
Definition at line 46 of file LibAOSoundDriver.cc.
|
virtual |
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 51 of file LibAOSoundDriver.cc.
|
virtual |
Mute the sound system.
Implements openmsx::SoundDriver.
Definition at line 38 of file LibAOSoundDriver.cc.
|
virtual |
Unmute the sound system.
Implements openmsx::SoundDriver.
Definition at line 42 of file LibAOSoundDriver.cc.
|
virtual |
Implements openmsx::SoundDriver.
Definition at line 56 of file LibAOSoundDriver.cc.