From: Takashi Iwai Subject: Re: [PATCH] PCM parameters in file plugin Date: Thu, 29 Jan 2009 12:01:32 +0100 Message-ID: References: <49627395.1090506@insite.cz> <49632995.9000109@insite.cz> <49634196.1070500@insite.cz> <4974FCC1.70907@insite.cz> <4980E378.7050506@insite.cz> <49818ADA.4050505@insite.cz> 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 (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 7077210386B for ; Thu, 29 Jan 2009 12:01:32 +0100 (CET) In-Reply-To: <49818ADA.4050505@insite.cz> 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: Pavel Hofman Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 29 Jan 2009 11:54:18 +0100, Pavel Hofman wrote: > > Takashi Iwai wrote: > > > > Thanks, it gets better now. > > > >> +static int snd_pcm_file_replace_key(char format, const void *value_p, > >> + char **string_p, char **index_ch_p, int *len_p) > > > > I think it could be easier to make value_str in the caller side. > > That is, > > ........ > > Hi Takashi, > > Thanks for your valuable comments. I am enclosing a fixed and tested > version. Thanks for a quick fix! Now I applied your patch to GIT tree. For further improvements / optimizations, please submit a patch against it. Takashi