Re: ALSA parameters

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

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux