diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2009-11-12 18:45:53 -0800 |
---|---|---|
committer | Jean-Baptiste Queru <jbq@google.com> | 2009-11-13 13:53:39 -0800 |
commit | cc8c35cee5de7fdf2d79a1a3716120b64301cdfe (patch) | |
tree | a9acd18ab5526d297928f96c094ca22eaa33e593 /include/tts | |
parent | cdcee265cad1fe10960bd3df32ac76c4afbd3963 (diff) | |
download | frameworks_native-cc8c35cee5de7fdf2d79a1a3716120b64301cdfe.zip frameworks_native-cc8c35cee5de7fdf2d79a1a3716120b64301cdfe.tar.gz frameworks_native-cc8c35cee5de7fdf2d79a1a3716120b64301cdfe.tar.bz2 |
eclair snapshot
Diffstat (limited to 'include/tts')
-rw-r--r-- | include/tts/TtsEngine.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/tts/TtsEngine.h b/include/tts/TtsEngine.h index 21cb73b..28b0d2f 100644 --- a/include/tts/TtsEngine.h +++ b/include/tts/TtsEngine.h @@ -43,7 +43,7 @@ enum tts_callback_status { // @param [inout] void *& - The userdata pointer set in the original // synth call // @param [in] uint32_t - Track sampling rate in Hz -// @param [in] audio_format - The AudioSystem::audio_format enum +// @param [in] uint32_t - The audio format // @param [in] int - The number of channels // @param [inout] int8_t *& - A buffer of audio data only valid during the // execution of the callback @@ -54,7 +54,7 @@ enum tts_callback_status { // TTS_CALLBACK_CONTINUE to indicate the synthesis must continue if // there is more data to produce. typedef tts_callback_status (synthDoneCB_t)(void *&, uint32_t, - AudioSystem::audio_format, int, int8_t *&, size_t&, tts_synth_status); + uint32_t, int, int8_t *&, size_t&, tts_synth_status); class TtsEngine; extern "C" TtsEngine* getTtsEngine(); @@ -80,6 +80,8 @@ enum tts_support_result { class TtsEngine { public: + virtual ~TtsEngine() {} + // Initialize the TTS engine and returns whether initialization succeeded. // @param synthDoneCBPtr synthesis callback function pointer // @return TTS_SUCCESS, or TTS_FAILURE |