From: Takashi Iwai Subject: Re: How can I make sure the period size is a multiple of 16? Date: Wed, 05 Sep 2007 14:58:19 +0200 Message-ID: References: <46DDE137.2070507@freescale.com> <200709051229.54852.linux@audioscience.com> <1188983283.8449.1208975085@webmail.messagingengine.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 693502412E for ; Wed, 5 Sep 2007 14:58:20 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Trent Piepho Cc: alsa-devel@alsa-project.org, perex@suse.cz List-Id: alsa-devel@alsa-project.org 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