forked from quickshell/quickshell
service/pipewire: set device node volumes with device object
Fixes discrepancies between pulse and qs volumes, and volumes not persisting across reboot or vt switches.
This commit is contained in:
parent
b40d4147e0
commit
c60871a7fb
9 changed files with 380 additions and 74 deletions
|
@ -21,6 +21,7 @@ class PwRegistry;
|
|||
class PwMetadata;
|
||||
class PwNode;
|
||||
class PwLink;
|
||||
class PwDevice;
|
||||
class PwLinkGroup;
|
||||
|
||||
class PwBindableObject: public QObject {
|
||||
|
@ -120,9 +121,12 @@ public:
|
|||
//QHash<quint32, PwClient*> clients;
|
||||
QHash<quint32, PwMetadata*> metadata;
|
||||
QHash<quint32, PwNode*> nodes;
|
||||
QHash<quint32, PwDevice*> devices;
|
||||
QHash<quint32, PwLink*> links;
|
||||
QVector<PwLinkGroup*> linkGroups;
|
||||
|
||||
PwCore* core = nullptr;
|
||||
|
||||
signals:
|
||||
void nodeAdded(PwNode* node);
|
||||
void linkAdded(PwLink* link);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue