| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
energy distribution change in an attempt to fix bug 2449814.
Change-Id: I144649f599e066e7ec85c05f6b2a5fdda64ec7b5
|
|\
| |
| |
| | |
if the file cannot be created."
|
| |
| |
| |
| |
| | |
When TTS is synthesizing to a file, return an error if the file
cannot be created.
|
| |
| |
| |
| | |
Change-Id: Ica7dbf6cb3db2e07958fadad476571b91bde2c24
|
|/
|
|
|
|
|
| |
Reduced the amount of filtering and amplification at the output
of the Pico TTS engine v1.1.0.2
Change-Id: I89f577b5e94e171b4ed892faffb863f19428cc1a
|
|
|
|
|
|
| |
32-bit signed integers are 11 bytes and a byte at the end for \0
Change-Id: I6a9cf69ecc64614c610cbade1c3398506d6f62f5
|
| |
|
|
|
|
| |
unless the user had set the defaults to always override app settings.
|
|
|
|
|
|
| |
of TTS data independently from the associated AudioTrack state.
Only start the track when it's been stopped but is supposed to be
playing.
|
|
|
|
| |
thread safety.
|
|
|
|
|
| |
triggered if many long utterances are started and interrupted in
rapid succession.
|
|
|
|
|
|
|
| |
The queue processor should not be called for the next item
until synthesis has actually happened for the current item;
before it was being incorrectly called regardless of
whether or not the synthesizer had processed the current item.
|
|
|
|
| |
TTS engine.
|
|\
| |
| |
| | |
not interfere with one another."
|
| |
| |
| |
| | |
interfere with one another.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The AudioTrack that plays the synthesized audio data should only be
started when the first synthesis request is sent, not after the
initialization of the engine.
The track volume should be initialized to it nominal level. Volumes
above 1 do not provide amplification, so setting the volume to 2 is
not necessary.
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
The build system does not honor user tags on apps,
and setting it is misleading.
This removes the confusion by making the makefiles
behave like they read.
Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '014085a8727d7e10a4d39cba4a6d27826b66bc00'
* commit '014085a8727d7e10a4d39cba4a6d27826b66bc00':
Fix for a race condition that can occur if an utterance
|
| |
| |
| |
| | |
is stopped right when it completes.
|
| |
| |
| |
| | |
engine to use for text-to-speech.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
an error when loading the native synth lib.
|
|
|
|
|
|
|
| |
if it was synthesing to a file, the latter can be deleted without
still being written to.
Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech
queue is empty.
|
|
|
|
|
|
| |
Return and log an error when an operation cannot be completed because
the speech queue is locked longer than the timeout period.
Log cleanup.
|
|
|
|
|
|
|
| |
If files were being synthesized to while the service was being killed,
it would have left partially written files (with no header). This CL
checks if the service is rendering to a file at the time the service
is destroyed: if it is, it will stop the rendering and deletes the file.
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188' into eclair
* commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188':
Fix bug 2046705 where the output of the speech synthesizer is too low.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The language files for the SVOX Pico engine result in the output of
the synthesizer to be too soft, and barely audible on a phone speaker.
The change implements a low shelf filter on the output of the synthesis
and a drastic amplification. This works as intended because the
synthesized data contains too much energy in the lower frequencies that
is wasted on a phone speaker. Once filtered out, they leave room for
amplication to address the volume issue.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc'
* commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc':
Fix bug 2043140.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A race condition is encountered when an application invokes shutdown()
on its TextToSpeech object while is has speak() requests still running.
Since the TTS service destructor releases the synthesizer resources and
sets the corresponding synth reference to null, an NPE was observed.
The fix consists in catching NPEs whenever the sNativeSynth object is
accessed, and return the matching error for the call.
This change is a "low risk" version of the fix for bug 2025765i (same
issue) which was reverted because it was higher risk than this CL:
it affected the logic of each call to sNativeSynth. This CL only sets
an error code when an NPE is fired because sNativeSynth is null.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'fbe89ec6404978da7899b944d989dd9f50a468b5'
* commit 'fbe89ec6404978da7899b944d989dd9f50a468b5':
Revert "Fix bug 2025765."
|
| |
| |
| |
| | |
This reverts commit 9ebb59b8aa75cab1e5bb53983893b579abb63edd.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '377b21e9f531e3fec1a5849453f886b5462e4144'
* commit '377b21e9f531e3fec1a5849453f886b5462e4144':
Fix bug 2025765.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Talkback produced a null pointer exception when being enabled and disabled
repeatedly due to a race condition between the onDestroy() of the service,
and the use of the service itself. The error occurs when one Talkback
thread initiates the destruction of the service (call to onDestroy()) when
it invokes shutdown() on its TextToSpeech instance (the client of the
service). At the same time, Talkback tries to say that "Accessibility" is
unchecked from another thread. During onDestroy(), the reference to the
TTS engine (sNativeSynth) is reset to null, which is used in the service
in speakInternalOnly(), and setLanguage().
The fix consists in the addition of a static variable that signals that
the service has entered onDestroy(). Once this flag is set, all method
invocations on sNativeSynth will be dismissed. Note that access to the
native resources used by sNativeSynth are synchronized at the native
layer, therefore preventing sNativeSynth.shutdown() to interfere with
a sNativeSynth.speak() call already underway.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '2bad713f31d642d5350949b90b3abe00fbd9ca55'
* commit '2bad713f31d642d5350949b90b3abe00fbd9ca55':
Fix bug 2017664
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention.
Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine.
Renamed the TextToSpeech.Engine constants that are used as extras for the
ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_.
Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of
"TTS" in the name.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '79858fe2f5b088ad93e461ea94e544bfce3c2e09'
* commit '79858fe2f5b088ad93e461ea94e544bfce3c2e09':
Fixing bug #2008185 - problem with the TTS dropping
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| | |
* changes:
Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.
|
| |
| |
| |
| | |
layer if the utterance is in the process of being canceled.
|