[Freeswitch-svn] [commit] r6124 - in freeswitch/trunk/src/mod: applications/mod_soundtouch formats/mod_shout

Freeswitch SVN anthm at freeswitch.org
Thu Nov 1 08:08:42 EDT 2007


Author: anthm
Date: Thu Nov  1 08:08:40 2007
New Revision: 6124

Modified:
   freeswitch/trunk/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp
   freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c

Log:
fix mod_soundtouch and mod_shout build

Modified: freeswitch/trunk/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp	(original)
+++ freeswitch/trunk/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp	Thu Nov  1 08:08:40 2007
@@ -246,7 +246,7 @@
 	return SWITCH_TRUE;
 }
 
-static void soundtouch_start_function(switch_core_session_t *session, char *data)
+SWITCH_STANDARD_APP(soundtouch_start_function)
 {
     switch_media_bug_t *bug;
     switch_status_t status;

Modified: freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_shout/mod_shout.c	Thu Nov  1 08:08:40 2007
@@ -532,7 +532,7 @@
 	switch_thread_create(&thread, thd_attr, write_stream_thread, context, context->memory_pool);
 }
 
-static switch_status_t shout_file_open(switch_file_handle_t *handle, char *path)
+static switch_status_t shout_file_open(switch_file_handle_t *handle, const char *path)
 {
 	shout_context_t *context;
 	char *host, *file;



More information about the Freeswitch-svn mailing list