summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2011-05-16 14:09:32 +0000
committerBernhard Tittelbach <xro@realraum.at>2011-05-16 14:09:32 +0000
commit46649dfad99d799987fac89130111341be50fcb3 (patch)
tree4ea16f5aa09bb19aa9ded8c19e6c0c38f76c4cf9 /software
parentminor improvements + example (diff)
soxdtmftest variable duration
git-svn-id: https://svn.spreadspace.org/mur.sat@23 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software')
-rwxr-xr-xsoftware/tests/dtmf/soxdtmftest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/software/tests/dtmf/soxdtmftest.sh b/software/tests/dtmf/soxdtmftest.sh
index 713d26b..5520c07 100755
--- a/software/tests/dtmf/soxdtmftest.sh
+++ b/software/tests/dtmf/soxdtmftest.sh
@@ -29,7 +29,7 @@
# along with mur.sat. If not, see <http://www.gnu.org/licenses/>.
#
-DURATION=5
+typeset -i DURATION=${1:-5}
CMD="play -n synth $DURATION"
while true; do
read -k 1 DIGIT