[pulseaudio-discuss] alternate sample rate
Colin Guthrie
gmane at colin.guthr.ie
Sat Nov 3 12:02:00 PDT 2012
'Twas brillig, and Sladjan Ri at 28/08/12 01:32 did gyre and gimble:
> Hi,
>
> how does the alternate rate work in daemon.conf? I can't find
> documentation in the manual or on the website, aside from one sentence
> in release notes.
> If I remember correctly, there was an option to specify an alternative
> rate so there is no resampling done always. I asked about this in IRC
> a week ago or so, and I set this up in Debian, but now after I
> reinstalled to Ubuntu, I can't find anything about it in the manual,
> and of course I have no backup of my config files.
>From "man pulse-daemon.conf":
default-sample-rate= The default sample frequency.
alternate-sample-rate The alternate sample frequency. Sinks and
sources will use either the default-rate-rate value or this alternate
value, typically 44.1 or
48kHz. Switching between default and alternate values is
enabled only when the sinks/sources are suspended. This option is
ignored in passthrough mode where
the stream rate will be used. If set to zero, this feature is
disabled.
So this only allows you to configure two "native" sample rates. If you
supply data in a third, different sample rate, then PA will still do
automatic resampling as needed.
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the pulseaudio-discuss
mailing list