From 8d377e5cffef552ee115a4314ed3dd2b4bd081e0 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 24 Feb 2009 00:18:30 +0000 Subject: [PATCH] remove unused code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12258 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_module_interfaces.h | 2 +- src/switch_ivr_play_say.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h index e1e2f510f1..3e8c72fb84 100644 --- a/src/include/switch_module_interfaces.h +++ b/src/include/switch_module_interfaces.h @@ -314,7 +314,7 @@ struct switch_file_handle { uint32_t thresh; uint32_t silence_hits; uint32_t offset_pos; - uint32_t last_pos; + //uint32_t last_pos; int32_t vol; switch_audio_resampler_t *resampler; switch_buffer_t *buffer; diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 17abf38ce9..6b7e48c7d6 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -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_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_buffer_destroy(&fh->audio_buffer);