提交 dd658a13 authored 作者: Anthony Minessale's avatar Anthony Minessale

fix compiler warning

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@615 a93c3328-9c30-0410-af19-c9cd2b2d52af
上级 07a8ebe5
...@@ -172,7 +172,7 @@ int teletone_mux_tones(teletone_generation_session_t *ts, teletone_tone_map_t *m ...@@ -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;*/ /*teletone_process_t period = (1.0 / ts->rate) / ts->channels;*/
int i, c; int i, c;
int freqlen = 0; int freqlen = 0;
teletone_dds_state_t tones[TELETONE_MAX_TONES]; teletone_dds_state_t tones[TELETONE_MAX_TONES+1];
//int decay = 0; //int decay = 0;
int duration; int duration;
int wait = 0; int wait = 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论