[pulseaudio-discuss] PulseAudio Network Sink: Respect alternative sample rate and format

Maximilian Böhm maximilian.boehm at elbmurf.de
Sun Jul 23 00:59:05 UTC 2017

Hello, I’m very happy that I finally got PulseAudio’s awesome network sink feature set up. Works so far, but the AV receiver on the other computer tells me it gets 41,1 kHz whereas my input in the sink from my client computer is 48 kHz (movies).
On both computers, the /etc/pulse/daemon.conf is configured like so:

default-sample-format = s24le
default-sample-rate = 44100
alternate-sample-rate = 48000

If I set the default sample rate to 48 kHz on the server, the AV receiver gets 48 kHz as well. But I’m afraid my client could still be sending a resampled 41,1 kHz signal to the server. Also, no idea if the 24-bit format is preserved or cut to 16-bit (I play a lot video tracks in 24-bit).
My preferred setup would be one in which the server switches from 48 kHz to 41,1 kHz dependent on how it gets input, like a desktop. BTW, this works flawlessly over a direct S/PDIF connection from my computers to the AV receiver.
I can’t find any documentation on this. Would appreciate your help.

More information about the pulseaudio-discuss mailing list