Fix/azure white noise (#63)

* azure return odd bytes audio, that azure tts mode generate white noise

* wip

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>

---------

Signed-off-by: Hoan HL <quan.luuhoang8@gmail.com>
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2024-05-14 06:55:44 -04:00
1 parent b019a634bd
commit 19f20bf0e7
3 files changed
+41 -5

No files matched your search

+1
View File
@@ -84,6 +84,7 @@ static switch_status_t a_speech_feed_tts(switch_speech_handle_t *sh, char *text,
a->flushed = 0;
a->response_code = 0;
a->err_msg = NULL;
a->has_last_byte = 0;
return azure_speech_feed_tts(a, text, flags);
}