On Tue, 18 Dec 2001, Jack Moffitt wrote:

> I noticed today while testing ogg123 that certain streams were failing
> with this message:
>
> ALSA snd_pcm_hw_params_set_period_size error: Invalid argument
>
> I've tried every period size from 0 to 10240 basically, and none of
> them are accepted.
>
> For 44.1kHz audio, the default 4096, with 8 periods seems to work quite
> well.  For 32kHz audio, nothing works at all apparently.  I have yet
> to try other samplerates extensively.
>
> Any ideas on what is wrong?

You may try to use snd_pcm_hw_set_period_size_near(). There might be some
hardware constraints which do not allow to use any integer period size.
If you feel it's a bug, let me know.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA Project  http://www.alsa-project.org


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to