From 14f861a24af316ec6d60ef8f17c954b50a7f6fec Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 28 May 2009 11:11:25 -0700 Subject: [PATCH] Adding TTS error code to signal missing resources (for instance missing language files). --- include/tts/TtsEngine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tts/TtsEngine.h b/include/tts/TtsEngine.h index 06f3820030555..bf629958ba78c 100644 --- a/include/tts/TtsEngine.h +++ b/include/tts/TtsEngine.h @@ -53,7 +53,8 @@ enum tts_result { TTS_FEATURE_UNSUPPORTED = -2, TTS_VALUE_INVALID = -3, TTS_PROPERTY_UNSUPPORTED = -4, - TTS_PROPERTY_SIZE_TOO_SMALL = -5 + TTS_PROPERTY_SIZE_TOO_SMALL = -5, + TTS_MISSING_RESOURCES = -6 }; class TtsEngine