From: Takashi Iwai Subject: Re: Why no Marco definitions for rate 24000 and 12000? Date: Fri, 14 Nov 2008 10:54:15 +0100 Message-ID: References: <458a17f90811140032v55c958bfiec1bf69bfb022873@mail.gmail.com> <458a17f90811140101q7d030c69k39c25552e87d1224@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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id BB659103817 for ; Fri, 14 Nov 2008 10:54:15 +0100 (CET) In-Reply-To: <458a17f90811140101q7d030c69k39c25552e87d1224@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 17:01:08 +0800, cocala wrote: > > Yes, that can add supported sample rates. > > but the macro definitions are still needed, actually 12000 and 24000 are > supported by most audio codecs. Simply pass SNDRV_PCM_RATE_KNOT instead of explicit rate bits. Takashi