From: Anthony Minessale Date: Thu, 12 Jun 2014 17:12:39 +0000 (-0400) Subject: fix compile errs X-Git-Tag: v1.5.13~195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97cc0898269f801c68e2c83870119428626f9284;p=thirdparty%2Ffreeswitch.git fix compile errs --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index f04581736d..1ab7d2fa62 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -9086,7 +9086,7 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_c switch_codec_implementation_t read_impl = { 0 }; switch_channel_t *channel = NULL; const char *force_rate = NULL, *force_interval = NULL, *force_channels = NULL, *presence_id = NULL; - uint32_t force_rate_i = 0, force_interval_i = 0, force_channels_i = NULL; + uint32_t force_rate_i = 0, force_interval_i = 0, force_channels_i = 0; /* Validate the conference name */ if (zstr(name)) { diff --git a/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c b/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c index 6ff5bada84..9264f0ec22 100644 --- a/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c +++ b/src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c @@ -91,7 +91,7 @@ static void event_handler(switch_event_t *event) } } -static switch_status_t tts_commandline_speech_open(switch_speech_handle_t *sh, const char *voice_name, int rate, switch_speech_flag_t *flags) +static switch_status_t tts_commandline_speech_open(switch_speech_handle_t *sh, const char *voice_name, int rate, int channels, switch_speech_flag_t *flags) { switch_uuid_t uuid; char uuid_str[SWITCH_UUID_FORMATTED_LENGTH + 1];