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 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2023 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2023, 2026 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2023 Brian Cully <bjc@spork.org> 3;;; Copyright © 2023 Brian Cully <bjc@spork.org>
4;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> 4;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
5;;; 5;;;
@@ -193,8 +193,10 @@ PulseAudio clients to use PipeWire transparently.")
193load-module module-null-sink \ 193load-module module-null-sink \
194sink_name=rtp sink_properties=\"device.description='RTP network output'\"\n" 194sink_name=rtp sink_properties=\"device.description='RTP network output'\"\n"
195 sock) 195 sock)
196 ;; Use a fixed sample rate to match what the receiving
197 ;; end is likely to expect.
196 (display (string-append "\ 198 (display (string-append "\
197load-module module-rtp-send source=rtp.monitor" 199load-module module-rtp-send source=rtp.monitor rate=44100"
198 (if destination-ip 200 (if destination-ip
199 (string-append 201 (string-append
200 " destination_ip=" 202 " destination_ip="