From: Takashi Iwai Subject: Re: Why no Marco definitions for rate 24000 and 12000? Date: Fri, 14 Nov 2008 09:39:11 +0100 Message-ID: References: <458a17f90811140032v55c958bfiec1bf69bfb022873@mail.gmail.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 5571924420 for ; Fri, 14 Nov 2008 09:39:12 +0100 (CET) In-Reply-To: <458a17f90811140032v55c958bfiec1bf69bfb022873@mail.gmail.com> 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: cocala Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 14 Nov 2008 16:32:42 +0800, cocala wrote: > > Who can tell me why not define add SNDRV_PCM_RATE_24000 and > SNDRV_PCM_RATE_12000? Just because they are rarely used. You can add a list of supported sample rates explicitly via snd_pcm_hw_hw_constraint_list() even if they are not defined in SNDRV_PCM_RATE_* bits. Takashi