PulseAudio Qt Bindings
10 #include "indexedpulseobject.h"
20 Q_PROPERTY(qint64 volume READ volume WRITE setVolume NOTIFY volumeChanged)
21 Q_PROPERTY(
bool muted READ isMuted WRITE setMuted NOTIFY mutedChanged)
22 Q_PROPERTY(
bool volumeWritable READ isVolumeWritable NOTIFY isVolumeWritableChanged)
24 Q_PROPERTY(
QVector<qint64> channelVolumes READ channelVolumes WRITE setChannelVolumes NOTIFY channelVolumesChanged)
25 Q_PROPERTY(
QStringList rawChannels READ rawChannels NOTIFY rawChannelsChanged)
33 qint64 volume()
const;
40 virtual void setVolume(qint64 volume) = 0;
50 virtual void setMuted(
bool muted) = 0;
52 bool isVolumeWritable()
const;
57 virtual void setChannelVolumes(
const QVector<qint64> &channelVolumes) = 0;
58 Q_INVOKABLE
virtual void setChannelVolume(
int channel, qint64 volume) = 0;
63 void isVolumeWritableChanged();
64 void channelsChanged();
65 void rawChannelsChanged();
66 void channelVolumesChanged();
72 class VolumeObjectPrivate *
const d;
73 friend class DevicePrivate;
74 friend class StreamPrivate;
79 #endif // VOLUMEOBJECT_H
An PulseObject that has a volume.
The primary namespace of PulseAudioQt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:08:28 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.