summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcore/java/android/speech/tts/TextToSpeech.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/speech/tts/TextToSpeech.java b/core/java/android/speech/tts/TextToSpeech.java
index 6d7b7ce0282c..186af7062751 100755
--- a/core/java/android/speech/tts/TextToSpeech.java
+++ b/core/java/android/speech/tts/TextToSpeech.java
@@ -414,8 +414,10 @@ public class TextToSpeech {
/**
* {@hide}
+ * Total number of cached speech parameters.
+ * This number should be equal to (max param position/2) + 1.
*/
- protected static final int NB_CACHED_PARAMS = 20;
+ protected static final int NB_CACHED_PARAMS = 10;
}
/**