Re: [LAU] ALSA parameters

From: Joern Nettingsmeier <nettings@email-addr-hidden-hochschule.de>
Date: Sat Jan 12 2008 - 19:57:38 EET

M-.-n wrote:
> Hi guys,
>
> I'm trying to get my audio driver working with ALSA but there's the issue of
> defining the buffer size and period that I can't seem to figure out really.
> I've tryed to google for some good definition of what they represent and how
> they should be used with respect to the asynchroneous callback but couldn't
> find too much that would help.

use jack :) then you don't have to care about that.
iiuc, the buffer size is in samples, and period defines how many buffers
are used - i guess this is per hardware interrupt, but i may be wrong.

high-end cards can do bufsize=32 and p=2. most cards should be able to
easily do 512/3. if latency is not an issue, you can use 4096/3 to save
cycles.

-- 
jörn nettingsmeier
home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621
Kurt is up in Heaven now.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Jan 12 20:15:03 2008

This archive was generated by hypermail 2.1.8 : Sat Jan 12 2008 - 20:15:03 EET