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);