Sean McGovern <[email protected]> writes:

> Fixes Bugzilla #279
> ---
>  configure                |    3 ++-
>  libavdevice/jack_audio.c |    6 ++++++
>  2 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/configure b/configure
> index fbb71b6..20643e0 100755
> --- a/configure
> +++ b/configure
> @@ -1087,6 +1087,7 @@ HAVE_LIST="
>      inet_aton
>      inline_asm
>      isatty
> +    jack_new_latency_api
>      ldbrx
>      libdc1394_1
>      libdc1394_2
> @@ -2982,7 +2983,7 @@ check_header soundcard.h
>
>  enabled_any alsa_indev alsa_outdev && check_lib2 alsa/asoundlib.h 
> snd_pcm_htimestamp -lasound
>
> -enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack
> +enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack && 
> check_func jack_port_get_latency_range && enable jack_new_latency_api

Why the extra config symbol?  You can use HAVE_JACK_PORT_GET_LATENCY_RANGE
directly like we do for a bunch of other functions.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to