]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix mod_soundtouch and mod_shout build
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 1 Nov 2007 12:08:40 +0000 (12:08 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 1 Nov 2007 12:08:40 +0000 (12:08 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6124 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_soundtouch/mod_soundtouch.cpp
src/mod/formats/mod_shout/mod_shout.c

index 2bb1e03c4aa79d6acdd4ea8ba5dce49ff207f22b..ec53c51040cf9b2031cadbe73b61bdb8ff2349c6 100644 (file)
@@ -246,7 +246,7 @@ static switch_bool_t soundtouch_callback(switch_media_bug_t *bug, void *user_dat
        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;
index e283430318deb71494abf71d5698c109eeb9d95e..a0dc429585c7fcd81c6a6f8b85f96277063bc3ef 100644 (file)
@@ -532,7 +532,7 @@ static void launch_write_stream_thread(shout_context_t * context)
        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;