summaryrefslogtreecommitdiffstats
path: root/packages/TtsService/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixing bug #2008185 - problem with the TTS droppingCharles Chen2009-07-271-8/+13
| | | | | | | utterances under heavy load was caused by the speech queue being locked. Switched to using a timeout with tryLock so that the TTS service does not give up immediately.
* Reset the speech synth singleton to null when the service is destroyedJean-Michel Trivi2009-07-211-0/+1
| | | | | | so it can be recreated when the service is initialized. In the interface with the native synthesizer library, close the lib in the finalizer, delete the global ref to the SynthProxy java object.
* Make sure the speech synthesizer proxy is a singleton in the TTS service.Jean-Michel Trivi2009-07-211-29/+31
|
* Prevent the setLanguage() method in TextToSpeech to change the languageJean-Michel Trivi2009-07-201-4/+4
| | | | | | | | for all current TextToSpeech instances by only caching the language value so it is used with each subsequent utterance for this instance. Synchronize calls to the engine around a global mutex since the engine isn't thread-safe, except for the stop() call which is meant to interrupt the synthesis loop.
* Merge change 7829 into donutAndroid (Google) Code Review2009-07-171-18/+24
|\ | | | | | | | | * changes: Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.
| * Making sure that there are no calls made to the native TTSCharles Chen2009-07-171-18/+24
| | | | | | | | layer if the utterance is in the process of being canceled.
* | Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.Jean-Michel Trivi2009-07-171-10/+0
|/
* Fixing a race condition that causes synthesis to not be abortedCharles Chen2009-07-161-2/+13
| | | | even if stop is called.
* Fixing a bug in how stop works - keep stop from always stoppingCharles Chen2009-07-141-20/+73
| | | | | | | | 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).
* Cleaning up TtsServiceCharles Chen2009-07-141-42/+38
|
* Implementing utterance ID callbacks for silence and pre-recorded filesCharles Chen2009-07-131-17/+62
| | | | (both generating and playing).
* Adding Utterance ID to the TtsService.Charles Chen2009-07-131-23/+43
|
* Propagate optional audio stream type to the creation of the audio resourcesJean-Michel Trivi2009-07-132-8/+43
| | | | to enable the playback of TTS content on various stream types.
* Fixing TTS breakage.Charles Chen2009-07-101-17/+22
|
* Use the TTS queue constants in the TTS service as defined in theJean-Michel Trivi2009-07-101-13/+13
| | | | TextToSpeech class.
* Adding tagging to utterances to track which app said what.Charles Chen2009-07-101-55/+64
|
* Unbreaking the build.Charles Chen2009-07-091-3/+0
|
* Adding a lock to stop so that stop will stop utterancesCharles Chen2009-07-091-11/+36
| | | | that are just starting up.
* Cleaning up logs.Charles Chen2009-07-071-4/+5
| | | | | | Initializing SpeechItem.mText to "" instead of null to prevent a null from accidentally being used when it is a non-text utterance.
* Use the current Locale as the default language when TTS settings are notJean-Michel Trivi2009-07-061-3/+7
| | | | found, rather than a hardcoded value stored in TextToSpeech.Engine.
* Fixes a compatibility issue with users that have the old TTSCharles Chen2009-07-061-1/+1
| | | | installed already.
* Propagating the error codes through the TtsServiceCharles Chen2009-07-062-43/+45
|
* Adding tts result codes.Charles Chen2009-07-061-7/+7
|
* Removing IPA - IPA is already handled by the phoneme tag.Charles Chen2009-07-021-117/+3
|
* Fixing synth to file to use the speech queue.Charles Chen2009-06-301-27/+81
|
* Fix bug where the default TTS Service country is initialized to the default ↵Jean-Michel Trivi2009-06-291-1/+1
| | | | language.
* Adding in TTS service support for language query and level of support.Jean-Michel Trivi2009-06-291-2/+36
|
* Merge change 5701 into donutAndroid (Google) Code Review2009-06-291-12/+23
|\ | | | | | | | | * changes: Expose in SynthProxy the query for the TTS supported and current language.
| * Expose in SynthProxy the query for the TTS supported and current language.Jean-Michel Trivi2009-06-291-12/+23
| |
* | Adding support for params.Charles Chen2009-06-291-4/+23
|/
* Merge change 5447 into donutAndroid (Google) Code Review2009-06-261-11/+125
|\ | | | | | | | | * changes: Adding skeleton methods for IPA support.
| * Adding skeleton methods for IPA support.Charles Chen2009-06-261-11/+125
| |
* | Use the same interface in the TTS engine interface for setLanguage and ↵Jean-Michel Trivi2009-06-261-0/+10
|/ | | | | | loadLanguage. Adding function to check the support level for a language in TTS engine interface.
* Adding splitting to the TTS to guard against extremely long strings.Charles Chen2009-06-251-5/+30
|
* Using a sendBroadcast to notify interested parties of whenCharles Chen2009-06-241-5/+6
| | | | the TTS queue has finished processing.
* Fixing the synth function so that queue processing continues.Charles Chen2009-06-241-0/+1
|
* Fix bug in TTS service where the language setting was using the default languageJean-Michel Trivi2009-06-241-4/+38
| | | | | | 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.
* Adding support for pitch changes of the synthesized text in Text-To-Speech.Jean-Michel Trivi2009-06-232-1/+25
|
* Grouping under TextToSpeech.Engine the constants to be used byJean-Michel Trivi2009-06-181-9/+7
| | | | | a TTS engine implementation or a settings application for default values, and data integrity check return codes.
* In the TTS service, read the default TTS settings from Settings.Secure.Jean-Michel Trivi2009-06-171-22/+44
|
* Using Locale to specify language and country for a TTS language to load,Jean-Michel Trivi2009-06-172-18/+16
| | | | | rather than a String. Cleanup in doc for TextToSpeech, and addition of queue mode constants.
* Made the platform TTS service aware of the path for the default TTS library ↵Jean-Michel Trivi2009-06-101-10/+1
| | | | to load.
* Restructuring the TTS files so that it works as a ServiceCharles Chen2009-06-102-0/+907