[alsa-devel] PCM parameters in file plugin
pavel.hofman at insite.cz
Tue Jan 6 10:51:17 CET 2009
Pavel Hofman napsal(a):
> I am working on a file plugin patch to allow adding PCM parameters
> (rate, format) to the name of the file created (plus the ability to run
> an external command via popen, such as upsampling with sox). I got stuck
> in trying to obtain these parameters in pcm_file.c:_snd_pcm_file_open().
> Is it actually possible or the information is not available at the time
> of opening the file (and the whole patch is thus nonsense)?
> Thanks a lot for help.
I am now opening the output file in pcm_file.c:snd_pcm_file_write_bytes.
Surprisingly it seems to work fine. Could such hack be accepted as a
patch to the plugin (if coded properly)? Is there a better place to open
Rubesova 29, 326 00 Plzen
Tel. +420 377 449 358
Fax +420 222 745 553
GSM: +420 603 163 973
Email: pavel.hofman at insite.cz
Navstivte www.educity.cz, server
s nejvetsi nabidkou profesniho
vzdelavani na ceskem internetu.
More information about the Alsa-devel