summaryrefslogtreecommitdiffstats
path: root/src/utils/padsp
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-06-15 14:47:14 +0000
committerPierre Ossman <ossman@cendio.se>2006-06-15 14:47:14 +0000
commit3fa491dc905edb8f54b10bff0b896e8ad7f733c6 (patch)
tree68f08ae1eb63849934745d09ee91659e287d12d4 /src/utils/padsp
parentdd0f80e3e28f2c4a0195d763f861594a9265ef1f (diff)
Make debug output in padsp a bit less verbose. Specifying -d twice will give
original output. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1018 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/utils/padsp')
-rw-r--r--src/utils/padsp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/padsp b/src/utils/padsp
index b43535b6..27f99336 100644
--- a/src/utils/padsp
+++ b/src/utils/padsp
@@ -46,7 +46,11 @@ while getopts 'hs:n:m:MSDd' param ; do
export PADSP_NO_DSP
;;
d)
- PADSP_DEBUG=1
+ if [ x"$PADSP_DEBUG" = x ]; then
+ PADSP_DEBUG=1
+ else
+ PADSP_DEBUG=$(( $PADSP_DEBUG + 1 ))
+ fi
export PADSP_DEBUG
;;
*)