summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2019-06-17 10:38:20 +0100
committerMike Brady <mikebrady@eircom.net>2019-06-17 10:38:20 +0100
commit9199bf24ddcc352d3728e25a12dbe2d746a5951e (patch)
tree26b971b2209e37de032bdc5a88d5ea05d11d1a98
parenta46c761aa680d25609e60c663aad25e54dceca16 (diff)
fix the detection of the availability of precision timing information -- actuall, renable it
-rw-r--r--audio_alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio_alsa.c b/audio_alsa.c
index 692d73c..26a0014 100644
--- a/audio_alsa.c
+++ b/audio_alsa.c
@@ -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) {