PulseAudio Network Sink: Respect alternative sample rate and format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2017-07-23 at 02:59 +0200, Maximilian Böhm wrote:
> 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.

So you have loaded module-tunnel-sink on the client? The tunnel sink
doesn't currently support switching the rate depending on what
applications play to it.

Do you use any local sound cards on the client? If not, then you could
set "default-server = server_hostname_or_ip" in /etc/pulse/client.conf.
Then all applications on the client machine will connect directly to
the server machine. The sample rate that the server will then
automatically change depending on the applications.

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux