diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 16:19:00 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-11 16:19:00 +0000 |
commit | 13e34e0fa90fbcf6fa455a70dae7f7ea5fa0778a (patch) | |
tree | 032315fb180c3cd05bc7d3413049896897d2b403 /include/asterisk/speech.h | |
parent | 1694b8d95fb30d493878868d07323b89f6dc9a93 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@74570 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/speech.h')
-rw-r--r-- | include/asterisk/speech.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/speech.h b/include/asterisk/speech.h index e152201a3..81b45a761 100644 --- a/include/asterisk/speech.h +++ b/include/asterisk/speech.h @@ -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 */ |