pulse-server: Add a message to enable/disable mono mixdown

WirePlumber recently added a mechanism to force mono mixdown on audio
outputs, which is a useful feature for accessibility. Let's also expose
that setting via libpulse for existing audio settings UIs to be able to
use.
This commit is contained in:
Arun Raghavan 2025-12-18 16:35:35 -08:00
parent 8c7890eb52
commit 385161b12a
4 changed files with 73 additions and 7 deletions

View file

@ -60,6 +60,11 @@ struct client {
struct pw_manager_object *metadata_routes;
struct pw_properties *routes;
struct pw_manager_object *metadata_schema_sm_settings;
bool have_force_mono_audio;
struct pw_manager_object *metadata_sm_settings;
bool force_mono_audio;
uint32_t connect_tag;
uint32_t in_index;