44 Commits

Author SHA1 Message Date
Charles Chen
c231fd0fe7 Fixing a race condition that causes synthesis to not be aborted
even if stop is called.
2009-07-16 11:29:34 -07:00
Android (Google) Code Review
83fa356589 Merge change 7356 into donut
* changes:
  Fixing a bug in how stop works - keep stop from always stopping the currently speaking item if that item does not belong to the app that is trying to do the stop.
2009-07-15 09:28:45 -07:00
Charles Chen
6f624239dc Fixing a bug in how stop works - keep stop from always stopping
the currently speaking item if that item does not belong to the
app that is trying to do the stop.

Also adds back the functionality of globally stopping speech that
was lost when utterance IDs were added (needed by screen reader).
2009-07-14 19:30:29 -07:00
Charles Chen
4a3368ffe8 Making sure that the audio buffers for speech are cleared
so that there are no leftovers which could cause mangled output.
2009-07-14 18:21:27 -07:00
Charles Chen
edb4fc3076 Cleaning up TtsService 2009-07-14 10:54:36 -07:00
Charles Chen
3ab2076d65 Implementing utterance ID callbacks for silence and pre-recorded files
(both generating and playing).
2009-07-13 21:21:01 -07:00
Charles Chen
78c9d0d2c5 Adding Utterance ID to the TtsService. 2009-07-13 17:46:19 -07:00
Jean-Michel Trivi
9440bce855 Propagate optional audio stream type to the creation of the audio resources
to enable the playback of TTS content on various stream types.
2009-07-13 11:34:30 -07:00
Charles Chen
630a8de44f Fixing TTS breakage. 2009-07-10 20:58:15 -07:00
Jean-Michel Trivi
d48ca22b9f Use the TTS queue constants in the TTS service as defined in the
TextToSpeech class.
2009-07-10 10:04:37 -07:00
Charles Chen
a9c5e4bf26 Adding tagging to utterances to track which app said what. 2009-07-10 09:43:03 -07:00
Charles Chen
be84e4134d Unbreaking the build. 2009-07-09 11:54:50 -07:00
Charles Chen
0a3d8744fe Adding a lock to stop so that stop will stop utterances
that are just starting up.
2009-07-09 09:51:33 -07:00
Charles Chen
2a8a2d76f1 Removing the ttsSynthDoneCallback logging. 2009-07-07 16:24:02 -07:00
Charles Chen
b02ced7e45 Cleaning up logs.
Initializing SpeechItem.mText to "" instead of null to
prevent a null from accidentally being used when it is a
non-text utterance.
2009-07-07 14:57:16 -07:00
Jean-Michel Trivi
d478cf09df Use the current Locale as the default language when TTS settings are not
found, rather than a hardcoded value stored in TextToSpeech.Engine.
2009-07-06 18:02:08 -07:00
Charles Chen
52ae06521a Fixes a compatibility issue with users that have the old TTS
installed already.
2009-07-06 16:10:32 -07:00
Charles Chen
a3f89295ad Propagating the error codes through the TtsService 2009-07-06 14:14:52 -07:00
Charles Chen
35b86c273a Adding tts result codes. 2009-07-06 10:51:48 -07:00
Charles Chen
4bca97ecaf Removing IPA - IPA is already handled by the phoneme tag. 2009-07-02 17:21:22 -07:00
Charles Chen
ebb814bbae Fixing synth to file to use the speech queue. 2009-06-30 12:03:06 -07:00
Jean-Michel Trivi
f07d824ba4 In TTS synthesis to file, remove hard coded values for the writing of the WAV header.
Corrected TTS Service manifest to allow writing to external storage.
Corrected memory management when the end of synthesis is signaled.
2009-06-30 09:50:12 -07:00
Jean-Michel Trivi
bbd63cb285 Fix bug where the default TTS Service country is initialized to the default language. 2009-06-29 17:31:05 -07:00
Jean-Michel Trivi
ddb0a803fd Adding in TTS service support for language query and level of support. 2009-06-29 16:58:32 -07:00
Android (Google) Code Review
526355dea1 Merge change 5701 into donut
* changes:
  Expose in SynthProxy the query for the TTS supported and current language.
2009-06-29 16:09:44 -07:00
Jean-Michel Trivi
bee1c7e6a4 Expose in SynthProxy the query for the TTS supported and current language. 2009-06-29 16:07:17 -07:00
Charles Chen
03454f8932 Adding support for params. 2009-06-29 14:06:48 -07:00
Jean-Michel Trivi
287148b80b Add in TTS engine interface the methods to query the availability for a language,
to set the synthesis audio format, to query the current language, country and
variant setting.
2009-06-29 09:52:17 -07:00
Android (Google) Code Review
77cb40a0b0 Merge change 5447 into donut
* changes:
  Adding skeleton methods for IPA support.
2009-06-26 11:28:43 -07:00
Charles Chen
741c25b164 Adding skeleton methods for IPA support. 2009-06-26 10:14:44 -07:00
Jean-Michel Trivi
d6d03e05be Use the same interface in the TTS engine interface for setLanguage and loadLanguage.
Adding function to check the support level for a language in TTS engine interface.
2009-06-26 09:46:28 -07:00
Android (Google) Code Review
ee513b600e Merge change 5444 into donut
* changes:
  In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received.
2009-06-25 17:35:59 -07:00
Jean-Michel Trivi
6c24f24b3e In the native layer for the TTS service, delete the data allocated for the callback after the signal for the end of the synthesis has been received. 2009-06-25 17:10:26 -07:00
Charles Chen
1aacdcfaa9 Adding splitting to the TTS to guard against extremely long strings. 2009-06-25 16:00:13 -07:00
Charles Chen
28dbae7df4 Using a sendBroadcast to notify interested parties of when
the TTS queue has finished processing.
2009-06-24 17:49:07 -07:00
Charles Chen
7af9e196a3 Fixing the synth function so that queue processing continues. 2009-06-24 13:31:18 -07:00
Jean-Michel Trivi
6a0e293c84 Fix bug in TTS service where the language setting was using the default language
when the setting wasn't enforced, and vice-versa.
Cleaning the log of the native TTS layer to use LOGV for verbose messages,
rather than LOGI.
2009-06-24 11:32:06 -07:00
Jean-Michel Trivi
2ea5349583 Adding support for pitch changes of the synthesized text in Text-To-Speech. 2009-06-23 15:26:57 -07:00
Jean-Michel Trivi
d146874d73 Grouping under TextToSpeech.Engine the constants to be used by
a TTS engine implementation or a settings application for default
values, and data integrity check return codes.
2009-06-18 14:46:25 -07:00
Jean-Michel Trivi
605a66bd56 In the TTS service, read the default TTS settings from Settings.Secure. 2009-06-17 17:59:50 -07:00
Jean-Michel Trivi
679d728f09 Using Locale to specify language and country for a TTS language to load,
rather than a String.
Cleanup in doc for TextToSpeech, and addition of queue mode constants.
2009-06-17 10:16:17 -07:00
Jean-Michel Trivi
35a8e80bf8 Updating TTS engine interface for setting the language based on language, country and variant codes
coming from a java.util.Locale instance.
2009-06-16 13:25:15 -07:00
Jean-Michel Trivi
b3c5a8785b Made the platform TTS service aware of the path for the default TTS library to load. 2009-06-10 18:38:50 -07:00
Charles Chen
f85aa5a4d4 Restructuring the TTS files so that it works as a Service 2009-06-10 13:31:09 -07:00