From: Mike Brady Date: Mon, 17 Jun 2019 09:38:20 +0000 (+0100) Subject: fix the detection of the availability of precision timing information -- actuall... X-Git-Tag: 3.3.2~4^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9199bf24ddcc352d3728e25a12dbe2d746a5951e;p=thirdparty%2Fshairport-sync.git fix the detection of the availability of precision timing information -- actuall, renable it --- diff --git a/audio_alsa.c b/audio_alsa.c index 692d73c6..26a0014d 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -210,7 +210,7 @@ int precision_delay_available() { enum yndk_type uses_update_timestamps; snd_pcm_state_t state; snd_pcm_sframes_t delay; - int ret = delay_and_status(&state, &delay, &uses_update_timestamps); + int ret = precision_delay_and_status(&state, &delay, &uses_update_timestamps); // debug(3,"alsa: precision_delay_available asking for delay and status with a return status of %d, a delay of %ld and a uses_update_timestamps of %d.", ret, delay, uses_update_timestamps); if (ret == 0) { if (uses_update_timestamps == YNDK_YES) {