From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Query about SNDRV_PCM_FORMAT_GSM Date: Wed, 22 Jun 2011 14:40:50 +0200 Message-ID: References: <4E019C2F.1020007@codeaurora.org> <20110622115833.GA23666@sirena.org.uk> 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 (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 7A9A1246BD for ; Wed, 22 Jun 2011 14:40:54 +0200 (CEST) In-Reply-To: <20110622115833.GA23666@sirena.org.uk> 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: Mark Brown Cc: waiw@codeaurora.org, asishb@codeaurora.org, Patrick Lai , alsa-devel , jaywang@codeaurora.org List-Id: alsa-devel@alsa-project.org At Wed, 22 Jun 2011 12:58:33 +0100, Mark Brown wrote: > > On Wed, Jun 22, 2011 at 11:54:56AM +0200, Takashi Iwai wrote: > > Patrick Lai wrote: > > > > I see SNDRV_PCM_FORMAT_GSM is defined in asound.h. However, I do not > > > find any reference to this macro except pcm_misc.c. I am curious how > > > bps info(i.e 4.75 kbit/s) is passed down to the ALSA driver. Any > > > pointers? > > > This is a vapor format until now, just reserved for the future > > implementation :) > > It may make sense to handle this in a similar way to MP3s and so on - > the Intel guys were working on generalising the interface in their out > of tree driver to be usable for other things, though they've not posted > anything yet. Yeah, this has been worked since years ago, so it'd be great if it comes out finally. Then we need to settle down the proper definition of these non-standard formats. Takashi