From: Mike Brady Date: Tue, 11 Dec 2018 16:25:53 +0000 (+0000) Subject: Stay with the standard delay call for the present time. X-Git-Tag: 3.3RC0~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dad5e28208f6ce386493bda890ab6fc199622e26;p=thirdparty%2Fshairport-sync.git Stay with the standard delay call for the present time. --- diff --git a/audio_alsa.c b/audio_alsa.c index 761e06d9..ea712a5e 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -1140,7 +1140,7 @@ static int play(void *buf, int samples) { frame_index++; if ((frame_index == start_measurement_from_this_frame) || (frame_index % 32 == 0)) { long fl = 0; - err2 = my_snd_pcm_delay(alsa_handle, &fl); + err2 = snd_pcm_delay(alsa_handle, &fl); if (err2 != 0) { debug(1, "Error %d in delay in play(): \"%s\". Delay reported is %d frames.", err2, snd_strerror(err2), fl);