From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Constraining the number of frames per period Date: Mon, 25 Oct 2010 09:48:02 +0200 Message-ID: <4CC53632.3080008@ladisch.de> References: <4CC13153.7040002@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by alsa0.perex.cz (Postfix) with ESMTP id E1F4F1037F9 for ; Mon, 25 Oct 2010 09:46:19 +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: Adam Rosenberg Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Adam Rosenberg wrote: >> Set the snd_pcm_hardware fields so that all sample formats are supported. > > I do not understand why I need to add all of the sample formats, Sorry, I actually meant to say "all of the sample formats supported by your hardware", where "formats" includes all the field of the snd_pcm_hardware structure. The idea is to set the snd_pcm_hardware fields so that anything supported by the hardware is allowed by these settings. Then, if there is any combination of settings that is allowed by these fields but not supported by the hardware, add more constraints in the open callback. Regards, Clemens