[mythtv] [mythtv-commits] mythtv commit: r26286 by jyavenard
Jean-Yves Avenard
jyavenard at gmail.com
Wed Sep 15 02:22:53 UTC 2010
Hi
On 15 September 2010 04:17, Colin Guthrie <mythtv at colin.guthr.ie> wrote:
> Just for reference, I know that on Mandriva, Fedora and IIRC Ubuntu too,
> the default value for this is 4megs on HDA cards.
>
> $ cat /proc/asound/card0/pcm0p/sub0/prealloc
> 4096
>
> This was done some time ago to enable larger buffers (e.g. 2s+) which
> can give power savings when used with PulseAudio's timer based
> scheduling and a well-behaved client that requests large buffers.
>
> I didn't look at the code surrounding it, but I presume this is only
> tried when it's not big enough, e.g. if it's already set to 4096, then
> it wont be decreased down to 512?
It's only tried if the buffer is detected to be too small. If you have
set it to 4MB already, then it won't be a problem and you'll never see
that message.
Those files are readable by everyone, just not writeable.
JY
More information about the mythtv-dev
mailing list