mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
stereo: fix mod_flite, mod_ssml, mod_unimrcp compile errors
This commit is contained in:
1 parent
97cc089826
commit
ab5278c02f
3 files changed
+5
-4
No files matched your search
@@ -938,7 +938,7 @@ static switch_status_t tts_file_open(switch_file_handle_t *handle, const char *p
|
||||
|
||||
memset(context, 0, sizeof(*context));
|
||||
context->flags = SWITCH_SPEECH_FLAG_NONE;
|
||||
if ((status = switch_core_speech_open(&context->sh, module, voice, handle->samplerate, handle->interval, &context->flags, NULL)) == SWITCH_STATUS_SUCCESS) {
|
||||
if ((status = switch_core_speech_open(&context->sh, module, voice, handle->samplerate, handle->interval, handle->channels, &context->flags, NULL)) == SWITCH_STATUS_SUCCESS) {
|
||||
if ((status = switch_core_speech_feed_tts(&context->sh, document, &context->flags)) == SWITCH_STATUS_SUCCESS) {
|
||||
handle->channels = 1;
|
||||
handle->samples = 0;
|
||||
|
||||
Reference in new issue
Block a user