]> code.delx.au - pulseaudio/commitdiff
print a message when we fall back on plughw
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Sep 2007 22:40:42 +0000 (22:40 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 Sep 2007 22:40:42 +0000 (22:40 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1847 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/modules/module-alsa-sink.c

index fb3f926bc93404031210c6a201b8a5879a70e9bc..84f1d4ef149dd99dfccbbcbf2fe51ade03dcfa5a 100644 (file)
@@ -756,6 +756,7 @@ int pa__init(pa_module*m) {
                 
                 if (pa_startswith(dev, "hw:")) {
                     char *d = pa_sprintf_malloc("plughw:%s", dev+3);
+                    pa_log_debug("Opening the device as '%s' didn't work, retrying with '%s'.", dev, d);
                     pa_xfree(dev);
                     dev = d;
                     continue;