#include <volume.h>
Inherits QObject.
The Volume class provides asbtract volume interface.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ VolumeFlag
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
|
◆ ~Volume()
◆ changed
Emitted if volume is changed.
◆ flags()
virtual VolumeFlags flags |
( |
| ) |
const |
|
virtual |
◆ isMuted()
virtual bool isMuted |
( |
| ) |
const |
|
virtual |
Returns true if volume is disabled. Otherwise returns false.
◆ setMuted()
virtual void setMuted |
( |
bool |
mute | ) |
|
|
virtual |
Mutes/Restores volume. Default implementation does nothing.
- Parameters
-
mute | - state of volume (true - mute, false - restore) |
◆ setVolume()
Setups volume levels. Subclass should reimplement this fucntion.
- Parameters
-
volume | Structure with required volume levels. |
◆ volume()
Returns volume level of the channel.
The documentation for this class was generated from the following file:
- /usr/src/RPM/BUILD/qmmp-1.4.6/src/qmmp/volume.h