]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
slight changes to messages
authorMike Brady <mikebrady@eircom.net>
Tue, 2 Apr 2019 13:23:35 +0000 (14:23 +0100)
committerMike Brady <mikebrady@eircom.net>
Tue, 2 Apr 2019 13:23:35 +0000 (14:23 +0100)
audio_alsa.c

index 3eda5f13c1d63ab6bcda454e61dfd6c45c4fb0d0..cb09c8fee8d3ead8400b93a7f83f579af43aaac6 100644 (file)
@@ -1177,19 +1177,20 @@ int delay_and_status(snd_pcm_state_t *state, snd_pcm_sframes_t *delay, enum yndk
 // user information
       if (update_timestamp_ns == 0) {
         if (delay_type_notified != 1) {
-          inform("Note: the alsa output device \"%s\" is not capable of precision delay timing. Could it be a virtual device?", snd_pcm_name(alsa_handle));
-          delay_type_notified = 1;
+          inform("Note: the alsa output device \"%s\" is not capable of high precision delay timing.", snd_pcm_name(alsa_handle));
+          debug(2,"alsa: delay_and_status must use snd_pcm_delay() to calculate delay");
         }
       } else {
 // diagnostic
         if (delay_type_notified != 0) {
-          debug(1,"alsa: delay_and_status using snd_pcm_status_get_delay() to calculate delay");
+          debug(2,"alsa: delay_and_status using snd_pcm_status_get_delay() to calculate delay");
           delay_type_notified = 0;
         }
       }
 
       if (update_timestamp_ns == 0) {
         ret = snd_pcm_delay    (alsa_handle,delay);
+        measurement_data_is_valid = 0; // can't really check frame rates
       } else {
         *delay = snd_pcm_status_get_delay(alsa_snd_pcm_status);