[pulseaudio-discuss] [PATCH] alsa: mention correct ALSA function in log (there is also snd_pcm_dump()...)

Peter Meerwald pmeerw at pmeerw.net
Fri Dec 30 13:28:30 PST 2011


From: Peter Meerwald <p.meerwald at bct-electronic.com>

---
 src/modules/alsa/alsa-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index e5275b1..4460be3 100644
--- a/src/modules/alsa/alsa-util.c
+++ b/src/modules/alsa/alsa-util.c
@@ -819,12 +819,12 @@ void pa_alsa_dump_status(snd_pcm_t *pcm) {
     }
 
     if ((err = snd_pcm_status_dump(status, out)) < 0) {
-        pa_log_debug("snd_pcm_dump(): %s", pa_alsa_strerror(err));
+        pa_log_debug("snd_pcm_status_dump(): %s", pa_alsa_strerror(err));
         goto finish;
     }
 
     snd_output_buffer_string(out, &s);
-    pa_log_debug("snd_pcm_dump():\n%s", pa_strnull(s));
+    pa_log_debug("snd_pcm_status_dump():\n%s", pa_strnull(s));
 
 finish:
 
-- 
1.7.5.4



More information about the pulseaudio-discuss mailing list