diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-03-31 10:53:24 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-03-31 10:53:24 +0800 |
commit | 0758cc3f7c4147155693e079b42d080e39466301 (patch) | |
tree | 6f7e758b6cfb9eee836e2bd670300e5a0e150ec5 /audio/dtmfdial/files | |
parent | a0cbac9a222b4b205e5ca44a97cb473e42dee2ea (diff) | |
download | freebsd-ports-graphics-0758cc3f7c4147155693e079b42d080e39466301.tar.gz freebsd-ports-graphics-0758cc3f7c4147155693e079b42d080e39466301.tar.zst freebsd-ports-graphics-0758cc3f7c4147155693e079b42d080e39466301.zip |
Add dtmfdial.
dtmfdial generates DTMF (touch tone) signals and sends them to the sound card
or stores them as a raw sound file.
PR: ports/94988
Submitted by: David Bushong <david@bushong.net>
Diffstat (limited to 'audio/dtmfdial/files')
-rw-r--r-- | audio/dtmfdial/files/patch-dial.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/dtmfdial/files/patch-dial.c b/audio/dtmfdial/files/patch-dial.c new file mode 100644 index 00000000000..4530d6a3327 --- /dev/null +++ b/audio/dtmfdial/files/patch-dial.c @@ -0,0 +1,24 @@ +--- dial.c.orig Fri Mar 31 04:44:07 2006 ++++ dial.c Fri Mar 31 04:44:23 2006 +@@ -7,10 +7,10 @@ + #include <math.h> + #include <stdio.h> + #include <fcntl.h> +-#include <malloc.h> ++#include <stdlib.h> + #include <sys/types.h> + #include <sys/stat.h> +-#include <linux/soundcard.h> ++#include <sys/soundcard.h> + + #define DEBUG(x) + +@@ -130,7 +130,7 @@ + ++*index; + } + +-void ++int + main(int argc, char **argv) + { + char *cp; |