aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Output
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-04-19 15:06:33 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-04-19 15:06:33 +0000
commitc6a6477388f34ef87cc75fc6d719e8de99d2c0f6 (patch)
treed1a2c2e2767b115fb1fd16be7ba1eb42ba147fe7 /src/plugins/Output
parent4453e0b53265618ac2623a01577e2005f0e7d9ce (diff)
downloadqmmp-c6a6477388f34ef87cc75fc6d719e8de99d2c0f6.tar.gz
qmmp-c6a6477388f34ef87cc75fc6d719e8de99d2c0f6.tar.bz2
qmmp-c6a6477388f34ef87cc75fc6d719e8de99d2c0f6.zip
added more debug messages
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3401 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output')
-rw-r--r--src/plugins/Output/jack/bio2jack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/Output/jack/bio2jack.c b/src/plugins/Output/jack/bio2jack.c
index 61ad35040..677bc2017 100644
--- a/src/plugins/Output/jack/bio2jack.c
+++ b/src/plugins/Output/jack/bio2jack.c
@@ -279,8 +279,9 @@ getDriver(int deviceID)
#endif
jack_driver_t *drv = &outDev[deviceID];
- if(pthread_mutex_lock(&drv->mutex) != 0)
- ERR("lock returned an error\n");
+ int err = 0;
+ if((err = pthread_mutex_lock(&drv->mutex)) != 0)
+ ERR("lock returned an error: %d\n", err);
/* should we try to restart the jack server? */
if(drv->jackd_died && drv->client == 0)