diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -2186,6 +2186,7 @@ SYSTEM_FEATURES=" SYSTEM_FUNCS=" access aligned_malloc + alsa_hr_ts arc4random clock_gettime closesocket @@ -6515,8 +6516,15 @@ else EOF fi -enabled alsa && { check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || - check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound; } +if enabled alsa; then + check_pkg_config alsa alsa "alsa/asoundlib.h" snd_pcm_htimestamp || + check_lib alsa alsa/asoundlib.h snd_pcm_htimestamp -lasound + if check_type "alsa/asoundlib.h alsa/pcm.h" snd_pcm_tstamp_type_t; then + enable alsa_hr_ts + else + warn "High resolution timestamps not supported by your ALSA version. Streaming A/V sync may suffer!" + fi +fi enabled libjack && require_pkg_config libjack jack jack/jack.h jack_port_get_latency_range |