[Freeswitch-svn] [commit] r9354 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Fri Aug 22 14:05:43 EDT 2008


Author: anthm
Date: Fri Aug 22 14:05:42 2008
New Revision: 9354

Modified:
   freeswitch/trunk/src/switch_pcm.c
   freeswitch/trunk/src/switch_time.c

Log:
update

Modified: freeswitch/trunk/src/switch_pcm.c
==============================================================================
--- freeswitch/trunk/src/switch_pcm.c	(original)
+++ freeswitch/trunk/src/switch_pcm.c	Fri Aug 22 14:05:42 2008
@@ -38,7 +38,8 @@
 #define SWITCH_MOD_DECLARE_DATA __declspec(dllexport)
 #endif
 SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load);
-SWITCH_MODULE_DEFINITION(CORE_PCM_MODULE, core_pcm_load, NULL, NULL);
+SWITCH_MODULE_SHUTDOWN_FUNCTION(core_pcm_shutdown);
+SWITCH_MODULE_DEFINITION(CORE_PCM_MODULE, core_pcm_load, core_pcm_shutdown, NULL);
 
 static switch_status_t switch_raw_init(switch_codec_t *codec, switch_codec_flag_t flags, const switch_codec_settings_t *codec_settings)
 {
@@ -343,6 +344,11 @@
 	return SWITCH_STATUS_SUCCESS;
 }
 
+SWITCH_MODULE_SHUTDOWN_FUNCTION(core_pcm_shutdown)
+{
+	return SWITCH_STATUS_NOUNLOAD;
+}
+
 /* For Emacs:
  * Local Variables:
  * mode:c

Modified: freeswitch/trunk/src/switch_time.c
==============================================================================
--- freeswitch/trunk/src/switch_time.c	(original)
+++ freeswitch/trunk/src/switch_time.c	Fri Aug 22 14:05:42 2008
@@ -466,7 +466,7 @@
 #endif
 
 
-	return SWITCH_STATUS_SUCCESS;
+	return SWITCH_STATUS_NOUNLOAD;
 }
 
 /* For Emacs:



More information about the Freeswitch-svn mailing list