From: Takashi Iwai Subject: Re: [alsa-devel] How to get set/fixed sample rate of ALSA device? Date: Tue, 16 Oct 2007 15:26:58 +0200 Message-ID: References: <4708F918.3060207@keyaccess.nl> <470958A9.7040607@keyaccess.nl> <470A8562.50301@keyaccess.nl> <470ACA07.8080407@keyaccess.nl> <4713CB7A.7070304@keyaccess.nl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4713CB7A.7070304@keyaccess.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-user-bounces@lists.sourceforge.net Errors-To: alsa-user-bounces@lists.sourceforge.net To: Rene Herman Cc: alsa-user@lists.sourceforge.net, ALSA devel , Bill Unruh , Jaroslav Kysela List-Id: alsa-devel@alsa-project.org At Mon, 15 Oct 2007 22:20:10 +0200, Rene Herman wrote: > > On 10/09/2007 02:23 AM, Rene Herman wrote: > > > Not too sure about that subformat thing by the way. Jaroslav (or anyone, > > obviously): is the subformat intended/designed to be format-specific or > > snd_pcm_t global? > > > > Currently there is only ever one subformat (STD) anyway but generally, > > I'd expect a subformat to be specific to a given format. There's just > > one non format-specific SND_PCM_SUBFORMAT_LAST though, no defines (or > > functions) to get subformats from the format. Is the design that all > > formats would be supporting all subformats or something? > > Takashi, with Jaroslav his usual blackhole self -- do you know what the idea > is of the subformats? I'm also not 100% sure, and I think this hasn't been much discussed until now. That's why we have no definition yet. As my understanding, it could be both. The sub-format is in general an additional attribute. An attribute can be generic for all formats and can be specific for certain formats. IMO, we can drop this field now (but keep it as a place holder for compatibility). Takashi ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/