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
|
@ -18,6 +18,8 @@
|
|||
|
||||
namespace qs::service::pipewire {
|
||||
|
||||
class PwDevice;
|
||||
|
||||
///! Audio channel of a pipewire node.
|
||||
/// See @@PwNodeAudio.channels.
|
||||
class PwAudioChannel: public QObject {
|
||||
|
@ -161,6 +163,9 @@ public:
|
|||
|
||||
PwNodeBoundData* boundData = nullptr;
|
||||
|
||||
PwDevice* device = nullptr;
|
||||
qint32 routeDevice = -1;
|
||||
|
||||
signals:
|
||||
void propertiesChanged();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue