Skip to content

Commit 4aa6324

Browse files
committed
fix(sound): active route may overwrite other routes
1 parent dbda0b1 commit 4aa6324

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

subscriptions/sound/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,7 @@ impl Model {
418418
}
419419
}
420420

421-
pipewire::Event::ActiveRoute(id, index, route) => {
422-
self.add_route(id, index, route);
423-
}
421+
pipewire::Event::ActiveRoute(_id, _index, _route) => {}
424422

425423
pipewire::Event::AddProfile(id, profile) => {
426424
if let Some(p) = self.active_profiles.get_mut(id) {

0 commit comments

Comments
 (0)