Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ao/pulse: set similar properties as the pipewire backend
Not setting `media.role` especially negatively affects wireplumber's restore-stream feature as it will save different stream settings for ao=pulse and ao=pipewire, so they will be restored differently. For example: 1. mpv --ao=pipewire ... 2. mute the stream in pavucontrol 3. mpv --ao=pulse ... 4. note that the stream is not muted To alleviate that issue, set `media.role` the same way it is set in the pipewire audio backend. (As well as some others.) See https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3848
- Loading branch information