From 53c17276dbde069e8413935dc986fe5ee6c4c3f5 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Thu, 6 Dec 2018 15:39:19 +0000 Subject: [PATCH] Continue to use the ordinary snd_pcm_delay call. --- audio_alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);