From af7181e705e593e9ea2ab131c2656e0032145663 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Thu, 17 Apr 2025 15:30:00 +0200 Subject: [PATCH] Reenable roc source --- machines/vm-audio.nix | 60 +++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/machines/vm-audio.nix b/machines/vm-audio.nix index fe3496b..d714000 100644 --- a/machines/vm-audio.nix +++ b/machines/vm-audio.nix @@ -42,37 +42,37 @@ ] )}"; - # # Pipewire roc source - # services.pipewire.extraConfig.pipewire."60-roc-source" = { - # "context.modules" = [ - # { - # "name" = "libpipewire-module-roc-source"; - # "args" = { - # "fec.code" = "rs8m"; - # "local.ip" = "0.0.0.0"; - # "resampler.profile" = "medium"; - # # sess.latency.msec = 10; - # "local.source.port" = 10001; - # "local.repair.port" = 10002; - # "source.name" = "Roc Source"; - # "source.props.node.name" = "roc-source"; - # }; - # } - # ]; - # }; + # Pipewire roc source + services.pipewire.extraConfig.pipewire."60-roc-source" = { + "context.modules" = [ + { + "name" = "libpipewire-module-roc-source"; + "args" = { + "fec.code" = "rs8m"; + "local.ip" = "0.0.0.0"; + "resampler.profile" = "medium"; + # sess.latency.msec = 10; + "local.source.port" = 10001; + "local.repair.port" = 10002; + "source.name" = "Roc Source"; + "source.props.node.name" = "roc-source"; + }; + } + ]; + }; - # # Set firewall ports - # networking.firewall = { - # enable = true; - # allowedTCPPorts = [ - # 10001 - # 10002 - # ]; - # allowedUDPPorts = [ - # 10001 - # 10002 - # ]; - # }; + # Set firewall ports + networking.firewall = { + enable = true; + allowedTCPPorts = [ + 10001 + 10002 + ]; + allowedUDPPorts = [ + 10001 + 10002 + ]; + }; # User for audio mixing users.users.mixer = {