6#include <PhosphorServicePipeWire/phosphorservicepipewire_export.h>
48class PHOSPHORSERVICEPIPEWIRE_EXPORT PwNode :
public QObject
51 Q_DISABLE_COPY_MOVE(PwNode)
52 Q_PROPERTY(quint32
id READ
id CONSTANT)
71 [[nodiscard]] quint32
id()
const;
72 [[nodiscard]] QString
name()
const;
73 [[nodiscard]] QString
nick()
const;
81 [[nodiscard]] QString
serial()
const;
87 [[nodiscard]] QList<qreal>
volumes()
const;
88 [[nodiscard]]
bool muted()
const;
176 std::unique_ptr<Private> d;
Owns the PipeWire main loop on a dedicated QThread and exposes connection state to the GUI thread via...
Definition PipeWireConnection.h:59
friend class PipeWireConnection
Definition PwNode.h:159
QString mediaName() const
void applyProps(int channelCount, QList< qreal > volumes, bool muted)
QString mediaClass() const
QString targetName() const
QList< qreal > volumes() const
void setVolumes(const QList< qreal > &values)
Per-channel write.
void applyTarget(const QString &target, bool present)
Internal metadata echo, on the GUI thread.
void applyInfo(QHash< QString, QString > props)
void applyRunning(bool running)
void setMuted(bool muted)
Asynchronous mute write.
QString applicationName() const
void setVolume(qreal value)
Set every channel's linear amplitude to value.
PipeWireConnection * connection() const
Typed accessor for the owning connection.
QString description() const
quint32 channelCount() const
QHash< QString, QString > properties() const
Definition PipeWireConnection.h:20