[FFmpeg-devel] [PATCH] ALSA for libavdevice

Luca Abeni lucabe72
Wed Jan 21 00:00:41 CET 2009

Hi  Nicolas,

On Tue, 2009-01-20 at 11:39 +0100, Nicolas George wrote:
> Apart from the cosmetic changes suggested by Diego, the changes in this
> version of the patch are thus:
> @@ -1060 +1060 @@ ac3_demuxer_deps="ac3_parser"
> -alsa_demuxer_deps="alsa_asoundlib_h"
> +alsa_demuxer_deps="alsa_asoundlib_h snd_pcm_htimestamp"
> @@ -2037 +2037,2 @@ check_header soundcard.h
> -check_header alsa/asoundlib.h
> +check_header alsa/asoundlib.h &&
> +check_lib2 alsa/asoundlib.h snd_pcm_htimestamp -lasound
> I hope I used correctly the support configure functions.

I performed some tests, and it looks like everything works as expected:
if alsalib is not present, the alsa input and output are not enabled; if
alsalib is present but does not provide snd_pcm_htimestamp(), only the
output is enabled, and with modern alsa library both the input and the
output are enabled.

Using the hw plugin, everything works fine and when using the broken
plugin the warning is printed. So, I'd say it's all ok!


More information about the ffmpeg-devel mailing list