From 97cc0898269f801c68e2c83870119428626f9284 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 12 Jun 2014 13:12:39 -0400 Subject: [PATCH] fix compile errs --- src/mod/applications/mod_conference/mod_conference.c | 2 +- src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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];