Package: multimon
Version: 1.0-4.1
Severity: important
Tags: patch
Patch: Attached
Hello!
$ multimon -t "wav" -a dtmf some.wav
multimod (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA
available demodulators: POCSAG512 POCSAG1200 POCSAG2400 EAS AFSK1200
AFSK2400 AFSK2400_2 HAPN4800 FSK9600 DTMF ZVEI SCOPE
Enabled demodulators: DTMF
sox: invalid option -- w
Failed: invalid option
$
The sox option "-w" got changed to "-2".
HTH and Greetings, J"o!
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (991, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-grml (SMP w/1 CPU core; PREEMPT)
Locale: lang=de_de.ut...@euro, lc_ctype=de_de.ut...@euro (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Naur multimon-1.0/gen.c multimon-sox-arg/gen.c
--- multimon-1.0/gen.c 2005-07-26 21:09:38.000000000 +0200
+++ multimon-sox-arg/gen.c 2009-07-08 13:18:34.000000000 +0200
@@ -320,7 +320,7 @@
perror("dup2");
close(pipedes[0]); /* close reading pipe end */
execlp("sox", "sox",
- "-t", "raw", "-s", "-w", "-r", srate, "-",
+ "-t", "raw", "-s", "-2", "-r", srate, "-",
"-t", type, fname,
NULL);
perror("execlp");
diff -Naur multimon-1.0/unixinput.c multimon-sox-arg/unixinput.c
--- multimon-1.0/unixinput.c 2002-12-04 03:49:16.000000000 +0100
+++ multimon-sox-arg/unixinput.c 2009-07-08 13:17:36.000000000 +0200
@@ -324,7 +324,7 @@
close(pipedes[1]); /* close writing pipe end */
execlp("sox", "sox",
"-t", type, fname,
- "-t", "raw", "-s", "-w", "-r", srate, "-",
+ "-t", "raw", "-s", "-2", "-r", srate, "-",
NULL);
perror("execlp");
exit(10);