80 #define TELETONE_MAX_DTMF_DIGITS 128
81 #define TELETONE_MAX_TONES 18
82 #define TELETONE_TONE_RANGE 127
100 #define M_PI 3.14159265358979323846264338327
104 typedef __int16 int16_t;
107 #if (_MSC_VER >= 1400) // VC8+
108 #define teletone_assert(expr) assert(expr);__analysis_assume( expr )
110 #define teletone_assert(expr) assert(expr)
114 #if defined(TT_DECLARE_STATIC)
115 #define TELETONE_API(type) type __stdcall
116 #define TELETONE_API_NONSTD(type) type __cdecl
117 #define TELETONE_API_DATA
118 #elif defined(TELETONE_EXPORTS)
119 #define TELETONE_API(type) __declspec(dllexport) type __stdcall
120 #define TELETONE_API_NONSTD(type) __declspec(dllexport) type __cdecl
121 #define TELETONE_API_DATA __declspec(dllexport)
123 #define TELETONE_API(type) __declspec(dllimport) type __stdcall
124 #define TELETONE_API_NONSTD(type) __declspec(dllimport) type __cdecl
125 #define TELETONE_API_DATA __declspec(dllimport)
128 #if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(HAVE_VISIBILITY)
129 #define TELETONE_API(type) __attribute__((visibility("default"))) type
130 #define TELETONE_API_NONSTD(type) __attribute__((visibility("default"))) type
131 #define TELETONE_API_DATA __attribute__((visibility("default")))
133 #define TELETONE_API(type) type
134 #define TELETONE_API_NONSTD(type) type
135 #define TELETONE_API_DATA
#define TELETONE_MAX_TONES
An abstraction to store a tone mapping.
Tone Generation Routines.
double teletone_process_t