From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [RFC] Extra info via the TLV interface Date: Tue, 05 Sep 2006 12:44:50 +0200 Message-ID: References: <44FC20B0.4060501@superbug.co.uk> <44FC46C0.30807@superbug.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: In-Reply-To: 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: Jaroslav Kysela Cc: alsa-devel , James Courtier-Dutton List-Id: alsa-devel@alsa-project.org At Tue, 5 Sep 2006 08:30:42 +0200 (CEST), Jaroslav Kysela wrote: > > On Mon, 4 Sep 2006, Takashi Iwai wrote: > > > Sorry, I meant to re-define every control "name" that is not > > conforming in the above. Renaming a mixer element _always_ results in > > a name mismatch _error_ in alsactl. It's handled as an error, not a > > warning. > > Note that alsactl or probably alsa-lib should be improved. We cannot > expect that names won't change and name cleanups are preferred. I would > propose to create a database with name change description to prevent these > errors and allow users switching between two ALSA driver versions more > nicely. > > The question is, if applications use these names to do something special > (if they compares them with own strings). Of course, we will break the > compatibility in this case. I would like to discuss, if adding a function > like > > int snd_mixer_compat_control_name(const char *name, > const char *alsa_version, > char *new_name, int new_name_size) > > would be sufficient to ALSA API. Hmm... How would this function be used? I still don't get it. Is it a function to be called by apps, or a function used in alsa-lib internaly? 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