mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Allow the native formats of a channel to influence the audio that is going to the engine. The best format will try to be chosen with an ultimate fallback to signed linear if possible.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -128,7 +128,7 @@ int ast_speech_results_free(struct ast_speech_result *result);
|
||||
/*! \brief Indicate to the speech engine that audio is now going to start being written */
|
||||
void ast_speech_start(struct ast_speech *speech);
|
||||
/*! \brief Create a new speech structure */
|
||||
struct ast_speech *ast_speech_new(char *engine_name, int format);
|
||||
struct ast_speech *ast_speech_new(char *engine_name, int formats);
|
||||
/*! \brief Destroy a speech structure */
|
||||
int ast_speech_destroy(struct ast_speech *speech);
|
||||
/*! \brief Write audio to the speech engine */
|
||||
|
Reference in New Issue
Block a user