[alsa-devel] [PATCH] PCM parameters in file plugin

Pavel Hofman pavel.hofman at insite.cz
Thu Jan 29 11:54:18 CET 2009

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 



Signed-off-by: Pavel Hofman <pavel.hofman at insite.cz>

* added support for including pcm stream params in the output filename
* added support for piping the stream to a shell command if the filename
string starts with a pipe char
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcm_file.c.patch
Type: text/x-diff
Size: 9914 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090129/a1922d22/attachment.bin 

More information about the Alsa-devel mailing list