[asterisk-commits] seanbright: branch seanbright/tts r426434 - /team/seanbright/tts/include/aste...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 28 12:10:19 CDT 2014
Author: seanbright
Date: Tue Oct 28 12:10:16 2014
New Revision: 426434
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=426434
Log:
Add a function for setting the voice to use.
Modified:
team/seanbright/tts/include/asterisk/tts.h
Modified: team/seanbright/tts/include/asterisk/tts.h
URL: http://svnview.digium.com/svn/asterisk/team/seanbright/tts/include/asterisk/tts.h?view=diff&rev=426434&r1=426433&r2=426434
==============================================================================
--- team/seanbright/tts/include/asterisk/tts.h (original)
+++ team/seanbright/tts/include/asterisk/tts.h Tue Oct 28 12:10:16 2014
@@ -30,6 +30,8 @@
struct ast_tts_engine {
/*! Name of TTS engine */
char *name;
+ /*! Set the voice use by the TTS engine */
+ int (*voice)(const char *voice);
/*! Render the specified text to the specified channel */
int (*speak)(const struct ast_channel *channel, const char *text);
/*! Change an engine specific setting */
More information about the asterisk-commits
mailing list