From: Mike Brady Date: Tue, 2 Apr 2019 13:23:35 +0000 (+0100) Subject: slight changes to messages X-Git-Tag: 3.3rc4~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98c8d04e0395be3ee151c7c4d32bcca94c00ed94;p=thirdparty%2Fshairport-sync.git slight changes to messages --- diff --git a/audio_alsa.c b/audio_alsa.c index 3eda5f13..cb09c8fe 100644 --- a/audio_alsa.c +++ b/audio_alsa.c @@ -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);