The Volume class provides asbtract volume interface.
More...
#include <volume.h>
The Volume class provides asbtract volume interface.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
Definition at line 51 of file volume.h.
This enum describes volume capabilities.
Enumerator |
---|
IsMuteSupported |
Indicates the interface has feature to mute audio
|
HasNotifySignal |
Indicates the object supports change notification via emitting changed() signal so polling the volume is not needed
|
Definition at line 58 of file volume.h.
virtual Volume::~Volume |
( |
| ) |
|
|
virtualdefault |
Emitted if volume is changed.
virtual VolumeFlags Volume::flags |
( |
| ) |
const |
|
virtual |
virtual bool Volume::isMuted |
( |
| ) |
const |
|
virtual |
Returns true if volume is disabled. Otherwise returns false.
virtual void Volume::setMuted |
( |
bool |
mute | ) |
|
|
virtual |
Mutes/Restores volume. Default implementation does nothing.
- Parameters
-
mute | - state of volume (true - mute, false - restore) |
Setups volume levels. Subclass should reimplement this fucntion.
- Parameters
-
volume | Structure with required volume levels. |
Returns volume level of the channel.
bool Volume::m_mutedInternal = false |
|
private |
The documentation for this class was generated from the following file: