fix compile errs

This commit is contained in:
Anthony Minessale 2014-06-12 13:12:39 -04:00
parent 928a989de1
commit 97cc089826
2 changed files with 2 additions and 2 deletions

View 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)) {

View 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];