[alsa-devel] How can I make sure the period size is a multiple of 16?
Takashi Iwai
tiwai at suse.de
Wed Sep 5 14:58:19 CEST 2007
At Wed, 5 Sep 2007 02:55:32 -0700 (PDT),
Trent Piepho wrote:
>
> On Wed, 5 Sep 2007, Clemens Ladisch wrote:
> > Eliot Blennerhassett wrote:
> > > Set snd_pcm_hardware.period_bytes_min to 16 or is that 16 * samplesize?
> >
> > This value is measured in bytes.
> >
> > > snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 16);
> >
> > This parameter is measured in frames.
>
> Isn't SNDRV_PCM_HW_PARAM_PERIOD_SIZE measured in frames, and
> SNDRV_PCM_HW_PARAM_PERIOD_BYTES in bytes?
Yes, *_BYTES is for bytes.
I don't know what happens with www-old.alsa-project.org.
Anyway, I'd love to move back the pages to www.alsa-project.org, if
possible. If that's difficult due to a technical reason, I'm willing
to move the stuff to other web site.
Jaroslav, what is the status?
thanks,
Takashi
More information about the Alsa-devel
mailing list