[aadk-commits] qwell: uClinux/trunk r49 - /uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/za...

aadk-commits at lists.digium.com aadk-commits at lists.digium.com
Fri Nov 10 16:17:23 MST 2006


Author: qwell
Date: Fri Nov 10 17:17:22 2006
New Revision: 49

URL: http://svn.digium.com/view/aadk?view=rev&rev=49
Log:
I guess I was a little too hasty in removing this..

Added:
    uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h   (with props)

Added: uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h
URL: http://svn.digium.com/view/aadk/uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h?view=auto&rev=49
==============================================================================
--- uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h (added)
+++ uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h Fri Nov 10 17:17:22 2006
@@ -1,0 +1,40 @@
+/* DTMF and MF tones used by the Tormenta Driver, in static tables.
+   Generated automatically from gendigits.  Do not edit by hand.  */
+static struct zt_tone dtmf_tones[16] = {
+	 /* dtmf_0 */ { 48437, -7187, -4862, 32649, -6236, -6258, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_1 */ { 55959, -6416, -3757, 38145, -6833, -5869, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_2 */ { 55959, -6416, -3757, 32649, -6236, -6258, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_3 */ { 55959, -6416, -3757, 26169, -5285, -6618, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_4 */ { 53912, -6752, -4104, 38145, -6833, -5869, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_5 */ { 53912, -6752, -4104, 32649, -6236, -6258, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_6 */ { 53912, -6752, -4104, 26169, -5285, -6618, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_7 */ { 51402, -7024, -4477, 38145, -6833, -5869, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_8 */ { 51402, -7024, -4477, 32649, -6236, -6258, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_9 */ { 51402, -7024, -4477, 26169, -5285, -6618, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_s */ { 48437, -7187, -4862, 38145, -6833, -5869, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_p */ { 48437, -7187, -4862, 26169, -5285, -6618, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_A */ { 55959, -6416, -3757, 18629, -3934, -6920, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_B */ { 53912, -6752, -4104, 18629, -3934, -6920, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_C */ { 51402, -7024, -4477, 18629, -3934, -6920, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+	 /* dtmf_D */ { 48437, -7187, -4862, 18629, -3934, -6920, DEFAULT_DTMF_LENGTH, &dtmf_silence }, 
+};
+
+static struct zt_tone mfv1_tones[15] = {
+	 /* mfv1_0 */ { 34242, -6431, -6154, 25079, -5104, -6669, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_1 */ { 55878, -6431, -3771, 49833, -7129, -4688, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_2 */ { 55878, -6431, -3771, 42562, -7129, -5489, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_3 */ { 49833, -7129, -4688, 42562, -7129, -5489, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_4 */ { 55878, -6431, -3771, 34242, -6431, -6154, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_5 */ { 49833, -7129, -4688, 34242, -6431, -6154, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_6 */ { 42562, -7129, -5489, 34242, -6431, -6154, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_7 */ { 55878, -6431, -3771, 25079, -5104, -6669, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_8 */ { 49833, -7129, -4688, 25079, -5104, -6669, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_9 */ { 42562, -7129, -5489, 25079, -5104, -6669, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_s */ { 42562, -7129, -5489, 15299, -3277, -7019, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_p */ { 25079, -5104, -6669, 15299, -3277, -7019, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_A */ { 49833, -7129, -4688, 15299, -3277, -7019, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_B */ { 34242, -6431, -6154, 15299, -3277, -7019, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+	 /* mfv1_C */ { 55878, -6431, -3771, 15299, -3277, -7019, DEFAULT_DTMF_LENGTH, &mfv1_silence }, 
+};
+
+/* END tones.h */

Propchange: uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: uClinux/trunk/uClinux-dist/linux-2.6.x/drivers/zaptel/tones.h
------------------------------------------------------------------------------
    svn:mime-type = text/plain



More information about the aadk-commits mailing list