fix compiler warning

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@615 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale
2008-12-12 15:10:22 +00:00
parent 07a8ebe5e0
commit dd658a138c
4 changed files with 411 additions and 661 deletions

View File

@@ -172,7 +172,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m
/*teletone_process_t period = (1.0 / ts->rate) / ts->channels;*/
int i, c;
int freqlen = 0;
teletone_dds_state_t tones[TELETONE_MAX_TONES];
teletone_dds_state_t tones[TELETONE_MAX_TONES+1];
//int decay = 0;
int duration;
int wait = 0;