]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
fix the detection of the availability of precision timing information -- actuall...
authorMike Brady <mikebrady@eircom.net>
Mon, 17 Jun 2019 09:38:20 +0000 (10:38 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 17 Jun 2019 09:38:20 +0000 (10:38 +0100)
audio_alsa.c

index 692d73c6e8e9a9286faf1380c01d6d237ec800a5..26a0014ddba2c7ee13b27348f47796d70e16da2f 100644 (file)
@@ -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) {