summaryrefslogtreecommitdiff
path: root/gnu/home
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-03-25 16:06:09 +0100
committerLudovic Courtès <ludo@gnu.org>2026-03-29 22:32:42 +0200
commite3a708ed79d0f3e03aed0aaf044a447df16646ea (patch)
tree3bfba1b1c5b28e76aefc78a2755acfbefabdbd8c /gnu/home
parent365dbc5b1cf31650b7a5ff7798993e226e9d98aa (diff)
home: services: pulseaudio-rtp-sink: Use a fixed sample rate.
* 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 <ludo@gnu.org> Merges: #7464
Diffstat (limited to 'gnu/home')
-rw-r--r--gnu/home/services/sound.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/home/services/sound.scm b/gnu/home/services/sound.scm
index c64a07c762c..6434b3a14b8 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 <ludo@gnu.org>
+;;; Copyright © 2023, 2026 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2023 Brian Cully <bjc@spork.org>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
@@ -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="