Ticket #146 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

No way to specify sample rate for RTP sink using paprefs

Reported by: Rudd-O Owned by: lennart
Milestone: Component: paprefs
Keywords: Cc:

Description

My emu10k1 in one of my servers is a native 48KHz sound card, and it performs (not great quality) resampling in hardware.

I would like to avoid resampling of audio as much as possible, preferring the high-quality PA resample algorithm instead of my sound card. Therefore, I have configured the module-alsa-sink on the machine with the sound card at 48 KHz, and I let PA do the resampling -- thus all clients that connect get high-quality resampling.

Big problem though. I'm attempting to make my desktop broadcast to several machines via RTP, using paprefs. But the RTP sink plays at 44100 KHz -- so now I have an extra sample rate conversion:

- audio player outputs at 48khz (DIVX movies) - rtp sink resamples to 44.1 - receiving side resamples to 48khz and outputs to the card

Can it be possible to have the RTP sink broadcast at 48 KHz in paprefs?

As a temporary measure I have downgraded my module-alsa-sink on the machine with the emu10k1 down to 44.1, but I'm not happy with how the card sounds using the card's reample-to-48 braindead policy and algo.

Change History

Changed 4 years ago by lennart

  • status changed from new to closed
  • resolution set to wontfix

paprefs is about exposing some functionality in a very easy way. Exposing information about sample rates is not going to help there.

If you want to change the sampling rate the RTP module is using, than please disable RTP in paprefs, edit "default.pa" and configure it there manually, passing the proper sampling rate parameters.

Changed 4 years ago by Rudd-O

I see. Can then the paprefs tool made it so it casts in 48K? All the new sound hardware has a native freq of 48K or 96K the high-end ones.

Note: See TracTickets for help on using tickets.