atagen

headroom

public
Star0
Watch0

Commit da174e47c3df

tarball

atagen <boss@atagen.co>2026-10-26 10:09 UTC

2 files changed+4-4
pw: don't spin on idle
Modified file: crates/headroom-core/src/pw/filter.rs+2 additions−1 deletions
@@ -297,7 +297,8 @@ fn build_filter(core: &Core) -> Result<PwFilter, DaemonError> {
297297 "node.dont-move" => "true",
298298 "node.link-group" => FILTER_LINK_GROUP,
299299 // the real sink drives, not us.
300- "node.passive" => "false",
300+ "node.passive" => "true",
301+ "node.suspend-on-idle" => "true",
301302 *keys::NODE_LATENCY => NODE_LATENCY_HINT,
302303 };
303304 PwFilter::new(core, NODE_NAME, props)
Modified file: crates/headroom-core/src/pw/registry.rs+2 additions−3 deletions
@@ -756,9 +756,6 @@ impl RoutingState {
756756 if s.profiles.bypass_global() {
757757 return false;
758758 }
759- if s.profiles.effective().default_route.route == Route::Processed {
760- return true;
761- }
762759 s.streams.values().any(|r| r.route == Route::Processed)
763760 }
764761
@@ -1881,6 +1878,8 @@ impl RoutingState {
18811878 s.broadcaster.publish(Topic::Routing, event);
18821879 }
18831880 }
1881+ drop(s);
1882+ self.sync_bus_graph_links();
18841883 }
18851884 }