pa_ext_stream_restore_write() should have a mask
Submitted by Bastien Nocera
Assigned to pul..@..op.org
Description
gnome-control-center's code has support for setting the "sink-input-by-media-role:event" volume, and mute state.
The problem is that the API makes it impossible to set only the volume, or only the mute state, making it impossible to be sure that the mute state or volume will always be in sync with (the changing) reality.
Adding a flag to pa_ext_stream_restore_info, as to whether to modify the saved mute state, or volume would be useful.