6#include <PhosphorServicePipeWire/phosphorservicepipewire_export.h>
157 void resolveDefaults();
160 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
void connectToDaemon()
Asynchronously connect the underlying PipeWireConnection to the daemon.
PipeWireHost(QObject *parent=nullptr)
Mirror of the underlying connection's daemonAvailable.
void nodeRemoved(PhosphorServicePipeWire::PwNode *node)
Forwarded from PipeWireConnection::nodeRemoved.
void disconnectFromDaemon()
Asynchronously disconnect the underlying PipeWireConnection from the daemon.
bool isDaemonAvailable() const
PipeWireConnection * connection() const
Constructed eagerly in PipeWireHost ctor; guaranteed non-null for the host's lifetime.
PwNode * defaultSink() const
QString defaultSourceName() const
PwNode * defaultSource() const
void daemonAvailableChanged()
void defaultSinkNameChanged()
void nodeAdded(PhosphorServicePipeWire::PwNode *node)
Forwarded from PipeWireConnection::nodeAdded.
void defaultSourceChanged()
void error(const QString &message)
Forwarded from PipeWireConnection::error.
void defaultSourceNameChanged()
void reconnect()
Trigger a re-connect on the underlying connection.
void defaultSinkChanged()
QString defaultSinkName() const
One PipeWire audio node — a sink, source, output stream, or input stream.
Definition PwNode.h:49
Definition PipeWireConnection.h:20