make teletone use all doubles

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@631 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-19 21:01:55 +00:00
parent 374097970d
commit cf67dbefd4
6 changed files with 34 additions and 28 deletions

View File

@@ -39,6 +39,8 @@ extern "C" {
#define TELETONE_MAX_TONES 6
#define TELETONE_TONE_RANGE 127
typedef double teletone_process_t;
/*! \file libteletone.h
\brief Top level include file
@@ -48,7 +50,7 @@ extern "C" {
/*! \brief An abstraction to store a tone mapping */
typedef struct {
/*! An array of tone frequencies */
double freqs[TELETONE_MAX_TONES];
teletone_process_t freqs[TELETONE_MAX_TONES];
} teletone_tone_map_t;