[pulseaudio-discuss] [PATCH] alsa-source: Fix log message

jprvita at gmail.com jprvita at gmail.com
Tue Apr 16 15:26:27 PDT 2013


From: João Paulo Rechi Vita <jprvita at openbossa.org>

The log message when updating the source sample rate wrongly mentions
"Sink" instead of "Source". This was probably a copy and paste error.
---
 src/modules/alsa/alsa-source.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/alsa/alsa-source.c b/src/modules/alsa/alsa-source.c
index 1481c98..dedb673 100644
--- a/src/modules/alsa/alsa-source.c
+++ b/src/modules/alsa/alsa-source.c
@@ -1424,7 +1424,7 @@ static pa_bool_t source_update_rate_cb(pa_source *s, uint32_t rate)
     }
 
     if (!supported) {
-        pa_log_info("Sink does not support sample rate of %d Hz", rate);
+        pa_log_info("Source does not support sample rate of %d Hz", rate);
         return FALSE;
     }
 
-- 
1.7.11.7



More information about the pulseaudio-discuss mailing list