I’m sorry I can’t answer this directly, but I can tell you that WirePlumber should be remembering volumes, so this won’t need to.
What is it that you need to set? There are lots of ways to deal with this comfortably, and if I have some idea of what you’re trying to achieve, perhaps I could suggest one.
I didn’t post screenshot of what I’m referring to because spectacle couldn’t take it for some reason so I’m posting a gif image:
The scroll which I’m scrolling is not remembered including any additional scroll bars that get added as I run various audio programs or websites running videos.
Only master level (left) and notifications sound (center) are remembered across reboots or log out/log in.
Additional audio levels are always reset even without log out, e.g. if starting a new audio-video in web browser.
I suspect the cause of this is explained by the message I posted in screenshot in my OP marked with arrow.
I’m using pulseaudio:
pactl --version
pactl 16.1
Compiled with libpulse 16.1.0
Linked with libpulse 16.1.0
No I’m saying that it says saving those volumes isn’t supported. I don’t think it will matter if you are running pipewire or pulse, that isn’t supposed to work.
But it is supported by wireplumber, so even though kmix won’t remember them (and would still show you this message), they will be remembered by wp.