#include <MixerInternal.hxx>
Definition at line 30 of file MixerInternal.hxx.
◆ Mixer() [1/2]
◆ Mixer() [2/2]
Mixer::Mixer |
( |
const Mixer & |
| ) |
|
|
delete |
◆ ~Mixer()
virtual Mixer::~Mixer |
( |
| ) |
|
|
inlinevirtual |
◆ Close()
virtual void Mixer::Close |
( |
| ) |
|
|
pure virtual |
◆ GetVolume()
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
◆ IsPlugin()
bool Mixer::IsPlugin |
( |
const MixerPlugin & |
other | ) |
const |
|
inline |
◆ Open()
virtual void Mixer::Open |
( |
| ) |
|
|
pure virtual |
Open mixer device.
Throws std::runtime_error on error.
◆ SetVolume()
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) |
◆ failed
Has this mixer failed, and should not be reopened automatically?
Definition at line 51 of file MixerInternal.hxx.
◆ listener
◆ mutex
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.
◆ open
◆ plugin
The documentation for this class was generated from the following file: