]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Continue to use the ordinary snd_pcm_delay call.
authorMike Brady <mikebrady@eircom.net>
Thu, 6 Dec 2018 15:39:19 +0000 (15:39 +0000)
committerMike Brady <mikebrady@eircom.net>
Thu, 6 Dec 2018 15:39:19 +0000 (15:39 +0000)
audio_alsa.c

index a93ec1ae08d3ed359cc9b0d8a8236a969fcf66f7..5705380e4b26a723649bdda5f910621bfcd35321 100644 (file)
@@ -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);