From ab260003082c94fa3f2e7aee5bddc8d0830da5b1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 1 Nov 2007 12:08:40 +0000 Subject: [PATCH] fix mod_soundtouch and mod_shout build git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6124 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_soundtouch/mod_soundtouch.cpp | 2 +- src/mod/formats/mod_shout/mod_shout.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp b/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp index 2bb1e03c4a..ec53c51040 100644 --- a/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp +++ b/src/mod/applications/mod_soundtouch/mod_soundtouch.cpp @@ -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; diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index e283430318..a0dc429585 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -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;