From: Takashi Iwai Subject: Re: [alsa-cvslog] alsa-lib: Implements support for capture/playback enums. Date: Mon, 16 Oct 2006 11:47:07 +0200 Message-ID: References: <4530C8DA.9080308@superbug.demon.co.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 mx1.suse.de (mail.suse.de [195.135.220.2]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id DB64C17A for ; Mon, 16 Oct 2006 11:47:08 +0200 (MEST) In-Reply-To: <4530C8DA.9080308@superbug.demon.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: James Courtier-Dutton Cc: ALSA development , Jaroslav Kysela List-Id: alsa-devel@alsa-project.org At Sat, 14 Oct 2006 12:24:10 +0100, James Courtier-Dutton wrote: > > Jaroslav Kysela wrote: > > On Fri, 13 Oct 2006, James Courtier-Dutton wrote: > > > >> + {" Playback Enum", CTL_PLAYBACK_ENUM}, > >> + {" Capture Enum", CTL_CAPTURE_ENUM}, > >> + {" Enum", CTL_GLOBAL_ENUM}, > > > > I don't like this. We already know, that it's the enum type, so it's not > > required to put this type to control id name again. > > > > Could you just check, if control id name ends with " Capture" or > > " Playback" words and set CTL_XXXX_ENUM according that? > > > > Jaroslav > > > > I would actually prefer to pass the info via the TLV interface. Reason? We already have the interface and we must keep it for compatibility reason, at least... Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642