From: Mike Brady Date: Thu, 6 Dec 2018 15:39:19 +0000 (+0000) Subject: Continue to use the ordinary snd_pcm_delay call. X-Git-Tag: 3.3RC0~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53c17276dbde069e8413935dc986fe5ee6c4c3f5;p=thirdparty%2Fshairport-sync.git Continue to use the ordinary snd_pcm_delay call. --- diff --git a/audio_alsa.c b/audio_alsa.c index a93ec1ae..5705380e 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -961,7 +961,7 @@ int delay(long *the_delay) { snd_pcm_state_t dac_state = snd_pcm_state(alsa_handle); if (dac_state == SND_PCM_STATE_RUNNING) { *the_delay = 0; // just to see what happens - reply = my_snd_pcm_delay(alsa_handle, the_delay); + reply = snd_pcm_delay(alsa_handle, the_delay); if (reply != 0) { debug(1, "Error %d in delay(): \"%s\". Delay reported is %d frames.", reply, snd_strerror(reply), *the_delay);