summaryrefslogtreecommitdiffstats
path: root/src/utils/padsp
diff options
context:
space:
mode:
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
;;
*)