aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/dtmf.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-11-15 18:45:56 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-11-25 19:23:46 +0100
commitfd3a4d7ac2d0a3759067c08c67cfad406fbcfb3c (patch)
treeca0a5640df0777ddd7c38000ac5c0ac963e6d5ff /src/common/dtmf.h
parent17b34fbae63f0ddebcb82e9714718c030e770300 (diff)
Restructure: Move dtmf from common code to 'libdtmf'
Diffstat (limited to 'src/common/dtmf.h')
-rw-r--r--src/common/dtmf.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/common/dtmf.h b/src/common/dtmf.h
deleted file mode 100644
index d6a5322..0000000
--- a/src/common/dtmf.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-typedef struct dtmf {
- int samplerate; /* samplerate */
- char tone; /* current tone to be played */
- int pos; /* sample counter for tone */
- int max; /* max number of samples for tone duration */
- double phaseshift65536[2]; /* how much the phase of sine wave changes per sample */
- double phase65536[2]; /* current phase */
-} dtmf_t;
-
-void dtmf_init(dtmf_t *dtmf, int samplerate);
-void dtmf_set_tone(dtmf_t *dtmf, char tone);
-void dtmf_tone(dtmf_t *dtmf, sample_t *samples, int length);
-