remove unused code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12258 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
22f8489043
commit
8d377e5cff
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue