Re: How can I make sure the period size is a multiple of 16?

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

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux