History log of /frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5fd28893f299cc069257de2199f91762dfba16b1 23-Nov-2015 Niels Egberts <nielse@google.com> Fix docs build failure.

Change-Id: If8d215f34a48e0c61aec0d35f10f1bfd633a4254
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
a24b50bee1aca19028477b235862bcd2c37135ed 20-Nov-2015 Niels Egberts <nielse@google.com> Restrict audioformat to 8bit, 16bit or float PCM with an annotation and
a warning.

TextToSpeech.synthesizeToFile has only ever worked with 8bit and 16bit
PCM. In case of float PCM an invalid file would be generated and in case
of other encodings the TTS engine would crash.

Also add more annotations to SynthesisCallback.

Change-Id: I1c44a44509e9b53bb2e1b0f2044b1a5919875e1c
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
fc4b2890378eb1b6e0b11d60d703eb6854268064 26-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Remove TextToSpeechClient API.

Removed all of TTS V2 api with exception of error codes.

Bug: 15834470
Change-Id: I9d9d2aad01811af9b86bf7a3fd018a8d4e5c2f33
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
d41b852f92ec2def734eac68a76ecbcea17e3cc9 29-Oct-2013 Siva Velusamy <vsiva@google.com> Fix Javadoc error

This fixes an error introduced with I180296d413a18301cead1c8e3212de2bd0c7e32d

Change-Id: I06512a0fb388738fae5bba5540189095f23f1e2a
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
eb337054edef31c9bdab4a59913f42038d5deaae 25-Oct-2013 Nick Kralevich <nnk@google.com> fix javadocs.

Change-Id: Ie008e28db0d3de22c933b4ef1ccbd3f082010a77
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
90d15d2371ad85f22254be6985455aa2baa5d15d 14-Jun-2013 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add new TTS API.

Much of existing API is reused (mostly on the service side). The new API
provides better support for network-based synthesis, defines explicit
synthesis fallback support, has better error handling, allows for multiple
different voices per locale, features enumeration and custom extensions
on a voice level and many more.

If a service does not provide a V2 implementation, a basic adapter
from V2 to existing V1 implementation is provided.

Bug: 8259486
Change-Id: I797b7fc054f11c9b0d930f4dea582e57596ea127
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
a6e16b86b9f708b4869e123c7c67f6d5675cca18 15-Oct-2012 Przemyslaw Szczepaniak <pszczepaniak@google.com> SynthesisCallback documentation update

Clarification about when android.speech.tts.SynthesisCallback.done()
should be called.

Bug: 2481825
Change-Id: Ic781a6facc2d9acb3f06afb952fbac0b494c56cf
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
c3da8818f0598b3ab2cd6f4168349da6d0f72cb1 01-Jul-2011 Narayan Kamath <narayan@google.com> Remove the completeAudioAvailable API.

Measurements have shown that the audio track in streaming mode
is pretty efficient as is, thanks to dalvik's JNI implementation.

Also, in streaming mode write( ) blocks until all data has been
copied to the mixer, which is the kind of behaviour we want so
that we don't have to explicitly block in our code. Also,
the java AudioTrack is thread-safe with respect to stop( ) calls
during write, which means we can do everything completeAudioAvailable
did, just as efficiently without it.

Change-Id: I70a8a108d94c7260676673979b5ea29f37fa5db4
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
e22b69a7de0349b99d3107349d1d3aa72d62c841 08-Jun-2011 Narayan Kamath <narayan@google.com> Make changes to the TTS api suggested by the API review.

This ended up making the implementation a lot cleaner
as well. See the bug listed below for some background.

bug:4553470
Change-Id: If16476a57e389c2f9b228f6548e426642d292b49
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java