Commit Graph
1338 Commits
Author SHA1 Message Date
Reece H. Dunn 3e12c3985b Merge branch 'master' into android 2015-10-11 20:33:14 +01:00
Reece H. Dunn 98e9bee133 Makefile.am: fix the reference to wave_sada.cpp (reported by Ken Perry) 2015-10-11 20:23:42 +01:00
Reece H. Dunn ac92aad239 Merge branch 'espeak-italian' 2015-10-11 20:20:30 +01:00
chrislm ee252db61c updates september 2015 2015-10-11 20:18:27 +01:00
chrislm a1d8e2587b Added rules and exceptions, august 2015 2015-10-11 20:18:17 +01:00
chrislm 808dadd0e3 Updates June-july 2015 2015-10-11 20:18:00 +01:00
chrislm a352834970 Updates july 13 2015 2015-10-11 20:17:43 +01:00
chrislm 07db4632aa Updata form june 2015 2015-10-11 20:16:57 +01:00
chrislm 8360b63a23 Updates 20 may 2015 2015-10-11 20:15:12 +01:00
chrislm 8d842288c3 update verbs 422 exception 2015-10-11 20:15:00 +01:00
chrislm f5ef5ffdd8 Update dict april 2015 2015-10-11 20:14:44 +01:00
chrislm fe4e652a54 Update 15 april 2015 2015-10-11 20:14:34 +01:00
chrislm 1ee3847920 Update dictionaries 31 march 2015 2015-10-11 20:14:14 +01:00
Reece H. Dunn 5ced1540f5 Merge remote-tracking branch 'thomasguillory/master' 2015-10-11 19:58:57 +01:00
Reece Dunn 3ef88bc130 Merge pull request #70 from jimregan/patch-1
Missing space
2015-10-11 19:49:42 +01:00
Reece Dunn 954b5f691e Merge pull request #69 from menny/patch-1
Preserving original file formating
2015-10-11 19:47:38 +01:00
Reece Dunn 9d450079b1 Merge pull request #66 from embar-/patch-2
Add missing file
2015-10-11 19:46:19 +01:00
Reece Dunn e17585fa0f Merge pull request #65 from embar-/patch-1
Add missing file
2015-10-11 19:43:20 +01:00
Reece H. Dunn 865ebf61a7 Improve the log message for skipping asia/fa-en-us. 2015-10-11 13:11:34 +01:00
Reece H. Dunn e308cec7c5 Make no use the more specific nb locale as nb is what Android uses. 2015-10-11 13:03:43 +01:00
Reece H. Dunn 0b898ed80d Re-enable hy-west support. 2015-10-11 12:28:02 +01:00
Reece H. Dunn fcd4edfd16 Enable om language support. 2015-10-11 12:13:02 +01:00
Reece H. Dunn 5be36dddf9 Simplify the espeak locale name mapping for maintainability. 2015-10-11 11:48:10 +01:00
Reece H. Dunn 744b18498b Update the compile and target SDK to 23 (Marshmallow / 6.0). 2015-10-11 10:44:34 +01:00
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.
2015-10-11 09:16:21 +01:00
Reece H. Dunn 0b86bc71ad Test TextToSpeech.setLanguage semantics at the TtsService level. 2015-10-10 23:07:58 +01:00
Reece H. Dunn 7c8128cc12 Fix the tests on Android Marshmallow. 2015-10-10 22:14:17 +01:00
Reece H. Dunn 059f88138e TtsService: onSynthesizeText does not need to set the language (this is done by setLanguage/setVoice 2015-10-10 15:07:33 +01:00
Reece H. Dunn 385a18bf04 TtsService: clear mAvailableVoices before repopulating it 2015-10-10 14:49:28 +01:00
Reece H. Dunn ced5afb0a1 TtsService: only set mMatchingVoice when told to load the voice. 2015-10-10 14:46:07 +01:00
Reece H. Dunn 8f6f0966f6 Fix the TtsService.onGetDefaultVoiceNameFor behaviour. 2015-10-10 14:37:37 +01:00
Reece H. Dunn d6786a4df4 Factor out the onIsLanguageAvailable logic into a findVoice helper method. 2015-10-10 14:25:13 +01:00
Reece H. Dunn 0ac8564fe5 TextToSpeechServiceTest: add mMatchingVoice tests 2015-10-10 14:19:48 +01:00
Reece H. Dunn c77a83801a TextToSpeechServiceTest: add onGetDefaultVoiceNameFor tests 2015-10-10 13:47:58 +01:00
Reece H. Dunn daf688ef51 TextToSpeechServiceTest: test the Android 4.x API 2015-10-10 13:40:07 +01:00
Reece H. Dunn 1e16011ee8 Use onIsLanguageAvailable in onGetDefaultVoiceNameFor instead of onLoadLanguage (language does not need to be loaded at this point). 2015-10-10 10:15:07 +01:00
Reece H. Dunn 1f6d3eeb4b Make mAvailableVoices final to avoid a lint warning on synchronized calls. 2015-10-10 09:51:19 +01:00
Reece H. Dunn 883e97fbd7 TextToSpeechTestCase: use isTtsLangCode to check TextToSpeech.LANG_* 2015-10-09 18:51:43 +01:00
Reece H. Dunn c4230b01ca Make Voice return the Java-based (ISO 639-3) language and country codes. 2015-10-09 06:55:52 +01:00
Reece H. Dunn 37117e7a45 Fix the Marathi sample text test on Android 4.0. 2015-10-08 20:43:52 +01:00
Reece H. Dunn 784c5e9c2d Update the sample text tests for Android 6.0 (marshmallow). 2015-10-08 20:31:33 +01:00
Reece H. Dunn 90481713de Remove unused variable. 2015-10-07 21:49:42 +01:00
Reece H. Dunn 19039c72ab Merge branch 'master' into android 2015-10-07 21:25:10 +01:00
Reece H. Dunn e6f6e97680 Remove the use of the native_data_t object. 2015-10-07 21:23:58 +01:00
Reece H. Dunn 66cfe9af2b Implement SpeechSynthesis.getSampleRate in Java. 2015-10-07 21:12:05 +01:00
Reece H. Dunn 46c5f88c6f Implement SpeechSynthesis.getBufferSizeInMillis in Java. 2015-10-07 20:57:51 +01:00
Reece H. Dunn 92ac250ddd Implement SpeechSynthesis.getAudioFormat in Java. 2015-10-07 20:51:17 +01:00
Reece H. Dunn c62a91fc0f Implement SpeechSynthesis.getChannelCount in Java. 2015-10-07 20:47:19 +01:00
Reece H. Dunn 910a4129ba Free w_list in MakeWordFreqList on exit. 2015-10-04 17:03:46 +01:00
Reece H. Dunn 7dfbdb56ea Fix the logic in Lexicon_It to avoid leaking f_list_in when pass is not 1 or 2. 2015-10-04 17:01:26 +01:00