PulseAudioQt::VolumeObject
#include <volumeobject.h>
Properties | |
QStringList | channels |
QList< qint64 > | channelVolumes |
bool | muted |
QStringList | rawChannels |
qint64 | volume |
bool | volumeWritable |
Signals | |
void | channelsChanged () |
void | channelVolumesChanged () |
void | isVolumeWritableChanged () |
void | mutedChanged () |
void | rawChannelsChanged () |
void | volumeChanged () |
Public Member Functions | |
QStringList | channels () const |
QList< qint64 > | channelVolumes () const |
bool | isMuted () const |
bool | isVolumeWritable () const |
QStringList | rawChannels () const |
virtual Q_INVOKABLE void | setChannelVolume (int channel, qint64 volume)=0 |
virtual void | setChannelVolumes (const QList< qint64 > &channelVolumes)=0 |
virtual void | setMuted (bool muted)=0 |
virtual void | setVolume (qint64 volume)=0 |
qint64 | volume () const |
Detailed Description
An PulseObject that has a volume.
Can be a Device or a Stream.
Definition at line 17 of file volumeobject.h.
Property Documentation
◆ channels
|
read |
Definition at line 23 of file volumeobject.h.
◆ channelVolumes
|
readwrite |
Definition at line 24 of file volumeobject.h.
◆ muted
|
readwrite |
Definition at line 21 of file volumeobject.h.
◆ rawChannels
|
read |
Definition at line 25 of file volumeobject.h.
◆ volume
|
readwrite |
Definition at line 20 of file volumeobject.h.
◆ volumeWritable
|
read |
Definition at line 22 of file volumeobject.h.
Constructor & Destructor Documentation
◆ ~VolumeObject()
|
override |
Definition at line 26 of file volumeobject.cpp.
Member Function Documentation
◆ channels()
QStringList PulseAudioQt::VolumeObject::channels | ( | ) | const |
Definition at line 50 of file volumeobject.cpp.
◆ channelVolumes()
QList< qint64 > PulseAudioQt::VolumeObject::channelVolumes | ( | ) | const |
Definition at line 60 of file volumeobject.cpp.
◆ isMuted()
bool PulseAudioQt::VolumeObject::isMuted | ( | ) | const |
Whether this object is muted.
Definition at line 35 of file volumeobject.cpp.
◆ isVolumeWritable()
bool PulseAudioQt::VolumeObject::isVolumeWritable | ( | ) | const |
Definition at line 45 of file volumeobject.cpp.
◆ rawChannels()
QStringList PulseAudioQt::VolumeObject::rawChannels | ( | ) | const |
Definition at line 55 of file volumeobject.cpp.
◆ setMuted()
|
pure virtual |
Set whether this object is muted.
Implemented in PulseAudioQt::Sink, PulseAudioQt::SinkInput, PulseAudioQt::Source, and PulseAudioQt::SourceOutput.
◆ setVolume()
|
pure virtual |
Set the volume for this object.
This affects all channels. The volume must be between PulseAudioQt::minimumVolume() and PulseAudioQt::maximumVolume().
Implemented in PulseAudioQt::Sink, PulseAudioQt::SinkInput, PulseAudioQt::Source, and PulseAudioQt::SourceOutput.
◆ volume()
qint64 PulseAudioQt::VolumeObject::volume | ( | ) | const |
This object's volume.
Definition at line 30 of file volumeobject.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.