From e3a708ed79d0f3e03aed0aaf044a447df16646ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 25 Mar 2026 16:06:09 +0100 Subject: [PATCH] home: services: pulseaudio-rtp-sink: Use a fixed sample rate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/home/services/sound.scm (pulseaudio-rtp-sink-shepherd-services): Add ‘rate’ parameter for ‘module-rtp-send’. Change-Id: Ic734ea241ee85147f949196dd3f7d58a81525388 Signed-off-by: Ludovic Courtès Merges: #7464 --- gnu/home/services/sound.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/home/services/sound.scm b/gnu/home/services/sound.scm index c64a07c762..6434b3a14b 100644 --- a/gnu/home/services/sound.scm +++ b/gnu/home/services/sound.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2023 Ludovic Courtès +;;; Copyright © 2023, 2026 Ludovic Courtès ;;; Copyright © 2023 Brian Cully ;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; @@ -193,8 +193,10 @@ PulseAudio clients to use PipeWire transparently.") load-module module-null-sink \ sink_name=rtp sink_properties=\"device.description='RTP network output'\"\n" sock) + ;; Use a fixed sample rate to match what the receiving + ;; end is likely to expect. (display (string-append "\ -load-module module-rtp-send source=rtp.monitor" +load-module module-rtp-send source=rtp.monitor rate=44100" (if destination-ip (string-append " destination_ip="