]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Correct the information in a non-available frame rate error message from audio_alsa.c.
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 30 Jun 2021 08:46:41 +0000 (09:46 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Wed, 30 Jun 2021 08:46:41 +0000 (09:46 +0100)
audio_alsa.c

index aa1258f8a8e9ed5ee4fea4b0960b76825f453eb1..74eecc08ff4ecead0f05f5d3ab60aaf489ba211e 100644 (file)
@@ -559,7 +559,7 @@ int actual_open_alsa_device(int do_auto_setup) {
       if (ret == 0) {
         speed_found = 1;
         if (actual_sample_rate != speeds[i])
-          die("The frame rate of the output DAC can not be set to a multiple of 44100 fps. (The nearest speed available is: %d fps.)", speeds[i], actual_sample_rate);
+          die("The frame rate of the output DAC can not be set to a %d fps. (The nearest speed available is: %d fps.)", speeds[i], actual_sample_rate);
       } else {
         i++;
       }