提交 8d377e5c authored 作者: Anthony Minessale's avatar Anthony Minessale

remove unused code

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12258 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 22f84890
...@@ -314,7 +314,7 @@ struct switch_file_handle { ...@@ -314,7 +314,7 @@ struct switch_file_handle {
uint32_t thresh; uint32_t thresh;
uint32_t silence_hits; uint32_t silence_hits;
uint32_t offset_pos; uint32_t offset_pos;
uint32_t last_pos; //uint32_t last_pos;
int32_t vol; int32_t vol;
switch_audio_resampler_t *resampler; switch_audio_resampler_t *resampler;
switch_buffer_t *buffer; switch_buffer_t *buffer;
......
...@@ -1277,7 +1277,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess ...@@ -1277,7 +1277,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
} }
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "done playing file\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "done playing file\n");
switch_core_file_seek(fh, &fh->last_pos, 0, SEEK_CUR); //switch_core_file_seek(fh, &fh->last_pos, 0, SEEK_CUR);
switch_core_file_close(fh); switch_core_file_close(fh);
switch_buffer_destroy(&fh->audio_buffer); switch_buffer_destroy(&fh->audio_buffer);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论