service/pipewire: add registry and node ready properties

This commit is contained in:
outfoxxed 2025-01-14 15:08:29 -08:00
parent 8b6aa624a2
commit 6d8022b709
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
8 changed files with 137 additions and 8 deletions

View file

@ -172,6 +172,7 @@ public:
PwNodeType type = PwNodeType::Untracked;
bool isSink = false;
bool isStream = false;
bool ready = false;
PwNodeBoundData* boundData = nullptr;
@ -180,6 +181,10 @@ public:
signals:
void propertiesChanged();
void readyChanged();
private slots:
void onCoreSync(quint32 id, qint32 seq);
private:
static const pw_node_events EVENTS;
@ -187,6 +192,7 @@ private:
static void
onParam(void* data, qint32 seq, quint32 id, quint32 index, quint32 next, const spa_pod* param);
qint32 syncSeq = 0;
SpaHook listener;
};