summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Yves Avenard <jyavenard@mythtv.org>2010-11-24 14:30:53 (GMT)
committer Jean-Yves Avenard <jyavenard@mythtv.org>2010-11-24 14:30:53 (GMT)
commita2aa3de396b717a686c16f923bd09062eb6df6a9 (patch)
tree6e5e053053b817da4fee4618c2bfa80fc0b3fefb
parentc72be4afdf0810f9fb7cd8cfe0a6f11a56bf60f7 (diff)
Add extra logging for passhtrough auto-settings failure
git-svn-id: http://svn.mythtv.org/svn/trunk@27332 7dbf422c-18fa-0310-86e9-fd20926502f2
-rw-r--r--mythtv/libs/libmyth/audiooutputalsa.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mythtv/libs/libmyth/audiooutputalsa.cpp b/mythtv/libs/libmyth/audiooutputalsa.cpp
index a63b77b..fe22e28 100644
--- a/mythtv/libs/libmyth/audiooutputalsa.cpp
+++ b/mythtv/libs/libmyth/audiooutputalsa.cpp
@@ -113,6 +113,11 @@ int AudioOutputALSA::TryOpenDevice(int open_mode, int try_ac3)
m_lastdevice = passthru_device;
if (!m_autopassthrough)
return err;
+ if (err < 0)
+ {
+ VBAUDIO(QString("Auto setting passthrough failed (%1), defaulting "
+ "to main device").arg(snd_strerror(err)));
+ }
}
if (!try_ac3 || err < 0)
{