I am doing multi-room audio in my house as described at posts like this one:
Multi-room audio with multicast RTP
My problem is that sound quality is poor. In particular, there are frequent pops. I have a Gigabit wired LAN and all computers are Intel Core i5 or i7 (no Raspberry Pi's or other low power devices). (I believe Intel CPU's are little endian.)
My PA configuration is described in more detail here:
Since then I have added
latency_msec=1000 to module-rtp-recv on each receiver.
On the sender, I am thinking about adding
rate=44100 channels=2 format=s16le. However, those are already the defaults on all devices:
- PulseAudio Version: 12.2
- Default Sample Specification: s16le 2ch 44100Hz
Also, all are synchronized with an NTP server:
sudo timedatectl status System clock synchronized: yes NTP service: active
First question: how do I add
rate=44100 channels=2 format=s16le when loading the module using
pactl instead of changing
Second, am I on the right track with those proposed changes? What else could be responsible for my poor sound quality? My hardware is pretty high end and the GigE network has good performance (although I would have to learn how to quantify that performance if that becomes necessary).