Reece Dunn
3ef88bc130
Merge pull request #70 from jimregan/patch-1
Missing space
9 years ago
Reece Dunn
954b5f691e
Merge pull request #69 from menny/patch-1
Preserving original file formating
9 years ago
Reece Dunn
9d450079b1
Merge pull request #66 from embar-/patch-2
Add missing file
9 years ago
Reece Dunn
e17585fa0f
Merge pull request #65 from embar-/patch-1
Add missing file
9 years ago
Reece H. Dunn
865ebf61a7
Improve the log message for skipping asia/fa-en-us.
9 years ago
Reece H. Dunn
e308cec7c5
Make no use the more specific nb locale as nb is what Android uses.
9 years ago
Reece H. Dunn
0b898ed80d
Re-enable hy-west support.
9 years ago
Reece H. Dunn
fcd4edfd16
Enable om language support.
9 years ago
Reece H. Dunn
5be36dddf9
Simplify the espeak locale name mapping for maintainability.
9 years ago
Reece H. Dunn
744b18498b
Update the compile and target SDK to 23 (Marshmallow / 6.0).
9 years ago
Reece H. Dunn
c094f4840b
Fix a Parcel `collection == null` exception.
This is caused by the Voice features being set to null. The fix in
Android Marshmallow is to make onGetFeaturesForLanguage return an
empty HashSet object. This does not work for eSpeak because:
1. eSpeak was overriding onGetVoices and initializing each Voice's
features to null;
2. the bug is still present on Lollipop.
Thus, the fix here is two-fold:
1. make onGetVoices use onGetFeaturesForLanguage;
2. make onGetFeaturesForLanguage return an empty HashSet, so that
eSpeak does not crash on Lollipop either.
9 years ago
Reece H. Dunn
0b86bc71ad
Test TextToSpeech.setLanguage semantics at the TtsService level.
9 years ago
Reece H. Dunn
7c8128cc12
Fix the tests on Android Marshmallow.
9 years ago
Reece H. Dunn
059f88138e
TtsService: onSynthesizeText does not need to set the language (this is done by setLanguage/setVoice
9 years ago
Reece H. Dunn
385a18bf04
TtsService: clear mAvailableVoices before repopulating it
9 years ago
Reece H. Dunn
ced5afb0a1
TtsService: only set mMatchingVoice when told to load the voice.
9 years ago
Reece H. Dunn
8f6f0966f6
Fix the TtsService.onGetDefaultVoiceNameFor behaviour.
9 years ago
Reece H. Dunn
d6786a4df4
Factor out the onIsLanguageAvailable logic into a findVoice helper method.
9 years ago
Reece H. Dunn
0ac8564fe5
TextToSpeechServiceTest: add mMatchingVoice tests
9 years ago
Reece H. Dunn
c77a83801a
TextToSpeechServiceTest: add onGetDefaultVoiceNameFor tests
9 years ago
Reece H. Dunn
daf688ef51
TextToSpeechServiceTest: test the Android 4.x API
9 years ago
Reece H. Dunn
1e16011ee8
Use onIsLanguageAvailable in onGetDefaultVoiceNameFor instead of onLoadLanguage (language does not need to be loaded at this point).
9 years ago
Reece H. Dunn
1f6d3eeb4b
Make mAvailableVoices final to avoid a lint warning on synchronized calls.
9 years ago
Reece H. Dunn
883e97fbd7
TextToSpeechTestCase: use isTtsLangCode to check TextToSpeech.LANG_*
9 years ago
Reece H. Dunn
c4230b01ca
Make Voice return the Java-based (ISO 639-3) language and country codes.
9 years ago
Reece H. Dunn
37117e7a45
Fix the Marathi sample text test on Android 4.0.
9 years ago
Reece H. Dunn
784c5e9c2d
Update the sample text tests for Android 6.0 (marshmallow).
9 years ago
Reece H. Dunn
90481713de
Remove unused variable.
9 years ago
Reece H. Dunn
19039c72ab
Merge branch 'master' into android
9 years ago
Reece H. Dunn
e6f6e97680
Remove the use of the native_data_t object.
9 years ago
Reece H. Dunn
66cfe9af2b
Implement SpeechSynthesis.getSampleRate in Java.
9 years ago
Reece H. Dunn
46c5f88c6f
Implement SpeechSynthesis.getBufferSizeInMillis in Java.
9 years ago
Reece H. Dunn
92ac250ddd
Implement SpeechSynthesis.getAudioFormat in Java.
9 years ago
Reece H. Dunn
c62a91fc0f
Implement SpeechSynthesis.getChannelCount in Java.
9 years ago
Reece H. Dunn
910a4129ba
Free w_list in MakeWordFreqList on exit.
9 years ago
Reece H. Dunn
7dfbdb56ea
Fix the logic in Lexicon_It to avoid leaking f_list_in when pass is not 1 or 2.
9 years ago
Reece H. Dunn
01dc335708
Close f_in on error in Lexicon_It.
9 years ago
Reece H. Dunn
ae1a016e58
Close f_in on error in Lexicon_De.
9 years ago
Reece H. Dunn
fd687c3162
Close f on error in LoadDictionary.
9 years ago
Reece H. Dunn
c39564c11f
Close f_in on error in CompileDictionary.
9 years ago
Reece H. Dunn
0b7a5a6ff1
Free new_translator on error in LoadVoice.
9 years ago
Reece H. Dunn
ebd64d961b
Fix a file leak in MakeVowelLists.
9 years ago
Reece H. Dunn
66eaac1d6c
Free f_prog_log on error in MakeVowelLists.
9 years ago
Reece H. Dunn
a77a4330ec
Free f_in in VowelChartList on exit.
9 years ago
Reece H. Dunn
6722fdaca2
Free frame on error in SpectSeq::Load2.
9 years ago
Reece H. Dunn
72d8be8c89
Free f_logespeak in LoadConfig if it has already been loaded.
9 years ago
Reece H. Dunn
ef7994f084
Free p on error in ReadPhFile.
9 years ago
Reece H. Dunn
be6ffd3449
Close the file opened in ReadPhondataManifest on error.
9 years ago
Reece H. Dunn
8d2f0edce2
Guard usage of f_log in compile_dictlist_file.
9 years ago
Reece H. Dunn
7afe4cf0bf
Fix spect_data memory leak in SpectFrame::ImportSPC2 when nx is 0.
9 years ago