musikcube icon indicating copy to clipboard operation
musikcube copied to clipboard

PipeWire: Volume is not retained after new pipewire session

Open the-eater opened this issue 4 years ago • 4 comments

When you set the volume of musikcube to e.g. 85%, then reboot the system, and start musikcube again, the volume will still show 85% but in reality is playing at a lower volume, changing the volume jumps it to the correct value

the-eater avatar May 27 '21 20:05 the-eater

Weird -- I tried to reproduce this issue and couldn't. I did find an edge case where this can happen, but I really doubt it's your problem. You can pull master and try again, but I'd be surprised if it fixed your issue. What distro and version of PipeWire are you running?

clangen avatar Jul 16 '21 05:07 clangen

hm doesn't fix the issue no

I am using Void Linux with pipewire 0.3.31

the-eater avatar Jul 16 '21 08:07 the-eater

oh ho!

guess what I found in my restore-stream file

 "restore.stream.Output/Audio.application.name:musikcube": { "volume": 1.000000, "mute": false, "volumes": [ 0.300001, 0.300001 ], "channels": [ "FL", "FR" ] },

the-eater avatar Jul 16 '21 08:07 the-eater

yep that fixed it, so if you play musikcube via PulseAudio it will make the restore.stream entry and apparently enforce this until you change volume?

the-eater avatar Jul 16 '21 08:07 the-eater