print a message when we fall back on plughw

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1847 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-09-17 22:40:42 +00:00
parent 8ff7d567d3
commit 7b4f981e4f

View 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;