c99ba1c3edf725e070383b27724c9ed63e1e5765 |
|
20-Nov-2015 |
Niels Egberts <nielse@google.com> |
API to listen in on the synthesized audio. Change-Id: Ic943d39a0540f0061ef6f629e4934dc71f69ab6b
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.java
|
9b2b2f50909b0278fee7f26d0070f318fd6b354a |
|
08-Dec-2015 |
Niels Egberts <nielse@google.com> |
Fix checks for audio format. Change-Id: I43e9a94f8ddd46f72d24e06d72702f354bbeae46
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.java
|
453c13f77121641a52d8b422a527feb7b3d3b8ab |
|
20-Nov-2015 |
Niels Egberts <nielse@google.com> |
Small refactoring for FileSynthesisCallback. Removed unused callerIdentity member and removed null checks for the dispatcher. Change-Id: I2983f5d48a7a593bc998ba4e033f1e815fa61819
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.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/FileSynthesisCallback.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/FileSynthesisCallback.java
|
34a37bdebb3d606dac7c7d1dd7a0effdb59bd3d6 |
|
09-Jan-2014 |
Glenn Kasten <gkasten@google.com> |
Add AudioFormat.getBytesPerSample and use it Change-Id: I90a40987ea99006af4a6e31136078c04976eb54d
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.java
|
6090995951c6e2e4dcf38102f01793f8a94166e1 |
|
19-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Remove unused imports from frameworks/base. Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.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/FileSynthesisCallback.java
|
5acb33af357b56fffb055997718b1e4aa97f53fc |
|
08-Feb-2013 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Make synthesizeToFile create file on a client side. In previous setup, synthesizeToFile method relied on synthesizer service to create world readable output file. This is potential source of vulnerabilities. This change moves output file creation to the client side, and synthesizer service receives already opened file descriptor. This change may break applications that are creating files in now unaccessible locations, like /sdcard/. Bug: 8027957 Change-Id: I97351be5d2f2f8ef9aa43d0ab08c4b825ca4c22b
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.java
|
9c3d7a888d0c5c09f0153e81018ff68aa6e91712 |
|
20-Jul-2012 |
Narayan Kamath <narayan@google.com> |
Fixes to TextToSpeechService#synthesizeToFile - Fixes a strict mode violation, defers file validity checks to when the engine starts synthesizing audio. - Fixes some log spam when done() is called twice. bug:6215680 bug:5415258 Change-Id: I4001be848b5208422d4091b7398e94ed311c649f
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.java
|
563fd3ae1b9d388f883b77b98a641a57bbdb6aed |
|
27-Oct-2011 |
Narayan Kamath <narayan@google.com> |
Widen permissions on synthesized files. When synthesized files are written to app private data dirs, they are written with owner/grp set to the TTS engine and are inaccessible by the app itself. This is a reported regression from gingerbread behaviour. Note that the dir in which the engine writes files is itself already world writable. bug:5523587 Change-Id: I2cb26c6f3c3d9cb3cedd60fab32c99a85a27f4b1
/frameworks/base/core/java/android/speech/tts/FileSynthesisCallback.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/FileSynthesisCallback.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/FileSynthesisCallback.java
|