2009/6/22 Alexandr Kutuzov <[email protected]>
> As i understood you need to grab only audio stream from alsa in your
> application. Correct me if i wrong.
> But why do you want to use libav for this purposes?
> rtaudio(c++) or other libs(as i know several more libs like rtaudio but in
> C exists) for work with audio devices is more suitable, don`t they?
That's it, except that I also grab the screen. I am not against using
another lib, but if possible I would prefer not to.
And I think that implementing the alsa code from ffmpeg 0.5 in my version of
ffmpeg is not so hard, but I have missed a modification.
I have made a copy of the wanted files (alsa-audio-enc.c, alsa-audio-dec.c,
alsa-audio-common, alsa-audio.h) in my version of ffmpeg in libavdevice. I
have made some modification so as to compil.
But I have forgotten to do something because, I can't find the format using
guess_format("alsa", NULL, NULL).
I have also made modifications in libavdevice/Makefile,
libavdevice/alldevices.c and configure.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user