On Sat, Jan 28, 2012 at 5:35 PM, Alfs Kurmis <kallipy...@inbox.lv> wrote: > Hi Experts. > > For my small multimedia audio project i wanna use mplayer as external > decoder. > As usually via pipe , for example so > mplayer -af resample=44100:0:1,channels=2,format=s16le -ao > pcm:nowaveheader:file=/dev/stdout -quiet -really-quiet 'saund_file.ext' | > nextprog -options ...
you're just resampling and reformatting? > Is here another decoder progs/libs with easy-to-use C API ? sndfile-resample and sndfile-convert can both be given "-" as the name of their output or input. they are much simpler programs that mplayer and will also likely do a better job. --p _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev