Skip to content

default-routes: switch to the route when availability changed

Julian Bouzas requested to merge julian/wireplumber:routes-fix into master

This MR fixes the default-routes.lua script to switch to the new route when availability changed.

This is needed so that audio is automatically switched to headphones when plugged, and switched back to speakers when unplugged.

The logic is based on media-session's commit: pipewire@84acfbbd

Fixes #69 (closed)

Merge request reports

Loading