Juho Hiltunen
bc16f819dd
cleanup: refactor and remove duplication from SetSpeed() implementations.
...
There are two SetSpeed(), one for Sonic and one without. The differences
are very small.
In SetSpeedMods(), sample rate is adjusted for Sonic only:
speed.min_sample_len = (speed.min_sample_len * samplerate_native) / 22050;
Since samplerate_native is 22050 at the moment this line has no effect.
2022-10-24 21:49:12 +03:00
Juho Hiltunen
5db96bd845
Staticanalysis ( #1457 )
...
Fixes for code smells from cppcheck static code analysis tool.
Also includes some function refactoring.
2022-10-23 19:45:47 +03:00
Juho Hiltunen
9e3ade9004
cleanup: reduce variable scopes in ssml.c
...
Contributes to #9 .
2022-10-23 19:34:59 +03:00
Juho Hiltunen
185c93e702
cleanup: reduce variable scopes in readclause.c
...
Contributes to #9 .
2022-10-23 19:15:18 +03:00
Juho Hiltunen
9be76c0b30
cleanup: fix cppcheck unusedVariable code smells
2022-10-23 18:44:30 +03:00
Juho Hiltunen
0551a234eb
cleanup: reduce variable scopes in translateword.c
...
Contributes to #9 .
2022-10-23 18:34:15 +03:00
Juho Hiltunen
b4053da400
cleanup: fix cppcheck identicalInnerCondition code smells
2022-10-23 18:09:06 +03:00
Juho Hiltunen
77df00ad79
cleanup: fix cppcheck unreadVariable code smell in common.c
2022-10-23 17:32:41 +03:00
Juho Hiltunen
80a632ed26
cleanup: reduce variable scopes in common.c
...
Contributes to #9 .
2022-10-23 17:32:41 +03:00
Juho Hiltunen
39ea6e3a90
cleanup: reduce variable scopes in translate.c
...
Contributes to #9 .
Found with cppcheck static code analyzer variableScope parameter.
2022-10-23 17:28:20 +03:00
Juho Hiltunen
ef1b562714
cleanup: remove code duplication by using SetPlist2()
2022-10-23 12:14:59 +03:00
Juho Hiltunen
319ce7b09f
cleanup: refactor duplicate loops to CalcWordLength().
...
Note: This code has no tests. Tests would pass even without a call to
this function.
2022-10-23 12:14:59 +03:00
Juho Hiltunen
139eef57d2
cleanup: refactor checking for _^_ to function SwitchLanguage()
2022-10-23 12:14:59 +03:00
Alexander Epaneshnikov
bdf8d0690b
russian_update ( #1455 )
2022-10-23 02:34:39 +03:00
kirill-jjj
e48fa8fd90
Russian: fix for word помощник
2022-10-23 02:30:04 +05:00
kirill-jjj
a6f8c5dd02
Russian: fix for letter э
2022-10-23 02:24:39 +05:00
Juho Hiltunen
268f5899c8
fixup e2862bbc
...
Changing da_rules was accidentally included in the commit.
2022-10-22 17:31:29 +03:00
Juho Hiltunen
c92f7b7bfe
cleanup: refactor checking FLAG_COMBINE into a function ( #1454 )
2022-10-22 11:55:38 +03:00
Juho Hiltunen
e2862bbc51
cleanup: refactor checking FLAG_COMBINE into a function
2022-10-22 11:49:27 +03:00
Alexander Epaneshnikov
14088025d2
Remove breath attributes from languages ( #1451 )
2022-10-18 18:03:12 +03:00
Yury Popov
5b13292390
Re-enable ltg/lv phonemes tests
2022-10-18 17:09:39 +03:00
Yury Popov
bf2ee4b007
Remove breath attributes from languages
2022-10-18 17:07:27 +03:00
Alexander Epaneshnikov
a25fa3d044
Fix pronunciation of bitwarden ( #1450 )
...
Fix pronunciation of [Bitwarden](https://bitwarden.com ), the open source
password manager.
2022-10-18 13:35:57 +03:00
Bill Dengler
8e0486b537
Fix pronunciation of bitwarden
2022-10-17 23:21:49 -07:00
Alexander Epaneshnikov
eaa62b6e95
Android: build updates ( #1449 )
2022-10-18 01:07:35 +03:00
PatrickMis
98373f348b
Official Gradle Wrapper Validation Action
...
See: https://github.com/gradle/wrapper-validation-action
2022-10-18 00:00:46 +02:00
PatrickMis
8ae9b0a162
Android: update Gradle Wrapper
2022-10-18 00:00:46 +02:00
PatrickMis
bbb89c0aa1
Android: bump dependencies, remove deprecations
2022-10-18 00:00:46 +02:00
Alexander Epaneshnikov
7d8ea50d18
Russian update ( #1448 )
2022-10-18 00:47:27 +03:00
kirill-jjj
9160d30bd6
Russian: fix for модель, and it's derivatives
2022-10-18 00:38:44 +03:00
kirill-jjj
608b211a94
Russian: fix for words кларнет, and кларнетист
2022-10-18 00:38:42 +03:00
kirill-jjj
da3a7f70a1
Russian: fix for words плеер and дисплей
2022-10-18 00:38:30 +03:00
kirill-jjj
18367ad467
Russian: fix for words яндекс, индекс, and it's form, like яндекса, индекса
2022-10-18 01:09:11 +05:00
kirill-jjj
6287100404
Russian: remove some of unneeded blannk lines from list and remove duplicate rule
2022-10-18 01:03:30 +05:00
Alexander Epaneshnikov
71ddc3c737
Russian update ( #1447 )
2022-10-17 22:49:46 +03:00
kirill-jjj
d9a141d77b
Russian: fix for или and delete comment about preposition в, because that's how it already works
2022-10-18 00:40:33 +05:00
Alexander Epaneshnikov
801e6a7b51
Russian: Correction for the particle же in word-by-word reading ( #1446 )
2022-10-17 21:42:23 +03:00
Alexander Epaneshnikov
d98f070bf7
Add ng API to enable phoneme events ( #1389 )
2022-10-17 21:41:57 +03:00
kirill-jjj
00183ecb4a
Russian: Correction for the particle же in word-by-word reading
2022-10-17 23:33:57 +05:00
Yury Popov
c5ff2aa592
Add phoneme events test
2022-10-17 18:48:25 +03:00
Yury Popov
9b3b916163
Add ng API to enable phoneme events
2022-10-17 18:48:23 +03:00
Samuel Thibault
9e2aa163a0
Fix for possible unaligned pointer load in DoPhonemeMarker ( #1445 )
...
Fix for CI issue found in #1389
2022-10-17 17:36:38 +02:00
Alexander Epaneshnikov
dc3653e858
Add directBoot support. ( #1444 )
2022-10-17 17:14:41 +03:00
Beqa Gozalishvili
f7f66429a3
Add directBoot support. Fixes #917
2022-10-17 17:32:39 +04:00
Yury Popov
dde5f8a983
Fix for possible unaligned pointer load in DoPhonemeMarker
2022-10-17 16:26:48 +03:00
Samuel Thibault
50a4675127
Make sure to test the compiled tests ( #1443 )
...
wildcard would only work once it's compiled; starting with a pristine
tree it would not see them.
2022-10-17 13:53:05 +02:00
Samuel Thibault
668a1db044
Make sure to test the compiled tests
...
wildcard would only work once it's compiled; starting with a pristine tree
it would not see them.
2022-10-17 13:45:13 +02:00
Alexander Epaneshnikov
0ecdd33d18
Fixes for r letter in spanish (Latinamerica) ( #1432 )
2022-10-17 00:24:59 +03:00
FelipeZanabria
45e49b345b
Es: fix m letter
...
This fixes the letter m being pronounced before f, even being in separate words.
2022-10-17 00:17:43 +03:00
FelipeZanabria
0c7384f009
Es: fix pronunciation of r
...
mentioned in #1313 and #1325 , plus fixes the pronunciation of Drive and Reaper.
2022-10-17 00:15:44 +03:00