#include <MixerInternal.hxx>
Definition at line 30 of file MixerInternal.hxx.
Mixer::Mixer |
( |
const Mixer & |
| ) |
|
|
delete |
virtual Mixer::~Mixer |
( |
| ) |
|
|
inlinevirtual |
virtual void Mixer::Close |
( |
| ) |
|
|
pure virtual |
virtual int Mixer::GetVolume |
( |
| ) |
|
|
pure virtual |
Reads the current volume.
Throws std::runtime_error on error.
- Returns
- the current volume (0..100 including) or -1 if unavailable
bool Mixer::IsPlugin |
( |
const MixerPlugin & |
other | ) |
const |
|
inline |
virtual void Mixer::Open |
( |
| ) |
|
|
pure virtual |
Open mixer device.
Throws std::runtime_error on error.
virtual void Mixer::SetVolume |
( |
unsigned |
volume | ) |
|
|
pure virtual |
Sets the volume.
Throws std::runtime_error on error.
- Parameters
-
volume | the new volume (0..100 including) |
Has this mixer failed, and should not be reopened automatically?
Definition at line 51 of file MixerInternal.hxx.
This mutex protects all of the mixer struct, including its implementation, so plugins don't have to deal with that.
Definition at line 40 of file MixerInternal.hxx.
The documentation for this class was generated from the following file: