]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix compile errs
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jun 2014 17:12:39 +0000 (13:12 -0400)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Jun 2014 17:12:39 +0000 (13:12 -0400)
src/mod/applications/mod_conference/mod_conference.c
src/mod/asr_tts/mod_tts_commandline/mod_tts_commandline.c

index f04581736d2250a35a4fb7df7902e9af5cf1134c..1ab7d2fa626e698aa122cc70ac916db049b5a5e1 100644 (file)
@@ -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)) {
index 6ff5bada847213e929658acf5e1f6de474b454cd..9264f0ec2203afa710a914708b7100e8b9a2e3eb 100644 (file)
@@ -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];