]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 22 Aug 2008 18:05:42 +0000 (18:05 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 22 Aug 2008 18:05:42 +0000 (18:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9354 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_pcm.c
src/switch_time.c

index 6aa038167cd2b5fe99e0d25384bb984c89177918..bb5fcc4e5d749d8d3a09b16ac46fb40a4fd5838a 100644 (file)
@@ -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 @@ SWITCH_MODULE_LOAD_FUNCTION(core_pcm_load)
        return SWITCH_STATUS_SUCCESS;
 }
 
+SWITCH_MODULE_SHUTDOWN_FUNCTION(core_pcm_shutdown)
+{
+       return SWITCH_STATUS_NOUNLOAD;
+}
+
 /* For Emacs:
  * Local Variables:
  * mode:c
index 3e0e991adb3399e37865a8eb423426e704e83332..b7ba9c4abca8f3155b18558fde09cde19f4e3c32 100644 (file)
@@ -466,7 +466,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(softtimer_shutdown)
 #endif
 
 
-       return SWITCH_STATUS_SUCCESS;
+       return SWITCH_STATUS_NOUNLOAD;
 }
 
 /* For Emacs: