6#include <PhosphorServicePipeWire/phosphorservicepipewire_export.h>
128 [[nodiscard]] QList<PwNode*>
nodes()
const;
213 std::unique_ptr<Private> d;
void setStreamTarget(quint32 streamId, const QString &nodeName)
Set a playback stream's WirePlumber target.
QList< PwNode * > nodes() const
Snapshot of every node the registry has reported so far, for C++ callers only.
void nodeAdded(PhosphorServicePipeWire::PwNode *node)
Fired from the GUI thread when the registry reports a new audio node (Sink, Source,...
void writeVolumes(quint32 nodeId, const QList< qreal > &volumes)
Asynchronously write a per-channel volume array to the node with the given PipeWire global id.
QString defaultSourceName() const
void defaultSinkNameChanged()
void operationFailed(const QString &message)
void writeMuted(quint32 nodeId, bool muted)
Asynchronously write a mute state.
PipeWireConnection(QObject *parent=nullptr)
True once the PipeWire daemon has answered the pw_core info event for the current connection (i....
void error(const QString &message)
Fired from the GUI thread when PipeWire reports a core-level error.
void setDefaultSink(const QString &nodeName)
Write the WirePlumber default.configured.audio.sink metadata key.
void nodeRemoved(PhosphorServicePipeWire::PwNode *node)
Fired from the GUI thread BEFORE the PwNode is destroyed so observers (models) can detach.
void defaultSourceNameChanged()
QString defaultSinkName() const
bool isDaemonAvailable() const
void daemonAvailableChanged()
~PipeWireConnection() override
void setDefaultSource(const QString &nodeName)
As above for the audio source.
void connectToDaemon()
Asynchronously establish a pw_context + pw_core and complete the initial sync.
void disconnectFromDaemon()
Asynchronously tear down pw_core + pw_context.
One PipeWire audio node — a sink, source, output stream, or input stream.
Definition PwNode.h:49
Definition PipeWireConnection.h:20