5d0ea0fe210db85a8a8a44c63d8fef195e206abb |
|
21-Mar-2017 |
Niels Egberts <nielse@google.com> |
Add time markers to synthesizeToFile API. Also rename onUtteranceRangeStart to onRangeStart based on feedback from the API council. Bug: 35767714 Bug: 35767290 Test: cts-tradefed run cts-dev --module CtsSpeechTestCases Change-Id: I2c17a06e401313d4f35e5ec4958c2251c195ef05
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.java
|
07d98a9d684fd82d004962a59806fa0506e6c550 |
|
14-Feb-2017 |
Sergio Sancho <ssancho@google.com> |
Ensure we set the notification marker position by calling updateMarker() just after the AudioTrack is initialized. This solve the issue with cached synthesis in which updateMarker was called before AudioTracker initialization and we never got the callbacks. Test: Built android and flashed to a device. Change-Id: I9053d1d046cc9a76aeedd307d5d48920e26e584d
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.java
|
65c50784564d0bae9276fde5472dd8898a781bcd |
|
23-Dec-2016 |
Niels Egberts <nielse@google.com> |
Implement time markers for TTS. The service can inform the framework at which frame a part of the input is spoken, and that information is then relayed to the client. This can be used to highlight the currently spoken word/sentence or to resume synthesis requests at the start of the last word/sentence. Test: manual Change-Id: Ie20a6764a8788cc3539cb058425e55eb6fde07db
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.java
|
5cbf17ca053b09beadd0b031a46ce193ab27a0f8 |
|
18-Jun-2014 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Add support for audio session id in the TTS + #playEarcon & #queueAudio respects request Volume/Pan settings. Bug:15432115 Change-Id: I136afef77afbc56c34810c64123f7be4b431d378
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.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/SynthesisPlaybackQueueItem.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/SynthesisPlaybackQueueItem.java
|
ed4e541a20cc662b8399844684d18ad0060bd1cb |
|
09-Jun-2012 |
Narayan Kamath <narayan@google.com> |
Fix bug in BlockingAudioTrack. Will be seen when createStreamingAudioTrack() returns null, which will happen if the audioflinger / audiomanager are unhealthy. Also removes some confusing synchronization from this class. bug:6636401 Change-Id: Iaf68a305665b7bc973898145e9cd1563e2569a2b
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.java
|
67ae6bc83cf2b30b0c61b9ebba5fed7a0038549c |
|
30-Nov-2011 |
Narayan Kamath <narayan@google.com> |
Simplify the implementation of AudioPlaybackHandler. Now uses a queue of runnables, one per synthesis. Also introduce an abstraction that wraps AudioTrack that implements the blocking semantics that we desire. bug:5680699 Change-Id: I34a1248ff05766a7d9b3002055fb5b24aa9f230b
/frameworks/base/core/java/android/speech/tts/SynthesisPlaybackQueueItem.java
|