[Freeswitch-svn] [commit] r12258 - in freeswitch/trunk/src: . include

FreeSWITCH SVN anthm at freeswitch.org
Mon Feb 23 16:18:30 PST 2009


Author: anthm
Date: Mon Feb 23 18:18:30 2009
New Revision: 12258

Log:
remove unused code

Modified:
   freeswitch/trunk/src/include/switch_module_interfaces.h
   freeswitch/trunk/src/switch_ivr_play_say.c

Modified: freeswitch/trunk/src/include/switch_module_interfaces.h
==============================================================================
--- freeswitch/trunk/src/include/switch_module_interfaces.h	(original)
+++ freeswitch/trunk/src/include/switch_module_interfaces.h	Mon Feb 23 18:18:30 2009
@@ -314,7 +314,7 @@
 	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;

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Mon Feb 23 18:18:30 2009
@@ -1277,7 +1277,7 @@
 	}
 
 	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);



More information about the Freeswitch-svn mailing list