]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove unused code
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 24 Feb 2009 00:18:30 +0000 (00:18 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 24 Feb 2009 00:18:30 +0000 (00:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12258 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_module_interfaces.h
src/switch_ivr_play_say.c

index e1e2f510f192714d6764f251c704088f6b9756b5..3e8c72fb8482af013d9e0591546eae12d5569435 100644 (file)
@@ -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;
index 17abf38ce9dbe28689adc1536ede6a2242d362ab..6b7e48c7d6c54d895fabd7dae41ee96c9095da55 100644 (file)
@@ -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);