[alsa-devel] Very elementary question regarding period size

Pharaoh . pharaoh137 at gmail.com
Mon Aug 27 18:23:44 CEST 2007


On 8/27/07, Clemens Ladisch <cladisch at fastmail.net> wrote:
>
> Pharaoh . wrote:
> > I am testing out my alsa driver for various period and buffer sizes, at
> some
> > configurations it doesn't work so arises this very basic question.
> >
> > Is every sound card/hardware supposed to work at all the period sizes?
>
> No.  The driver is supposed to add constraints that describe the
> capabilities of the hardware/driver.
>
> What are the valid period/buffer sizes supported by your driver?
>
>
> Regards,
> Clemens
>

I have tried with 1024,2048 and 4096 period sizes, with 16384 and 32768
buffer sizes. My driver doesn't seem to work well with 4k-16k or 4k-32k
combinations, i.e. I hear lot of hisses and glitches.

Yes, I am going to add the constraints to my driver.


More information about the Alsa-devel mailing list