Juho Hiltunen
ef809dcd7e
SetSpeed() refactoring ( #1465 )
...
Unify common parts of two implementations. Split into smaller functions.
2022-10-25 19:32:32 +03:00
Juho Hiltunen
d1e98942e3
Update README.md ( #1442 )
...
Google is now a LLC not Inc.
2022-10-25 19:30:55 +03:00
Juho Hiltunen
b94a5b160b
Add arm CI ( #1463 )
...
This allows to cover
- another arch that x86, which is also very common
- an arch where char is unsigned
- a little-endian arch
This is running under qemu-user, so significantly slower and doesn't
support ptrace thus no address sanitizer etc. but at least the undefined
sanitizer works.
2022-10-25 19:29:20 +03:00
Juho Hiltunen
8170775113
code cleanup: refactor and remove duplication by unifying SetSpeed()
...
implemantations.
It is unclear why the two implementations differ.
2022-10-25 19:24:55 +03:00
Juho Hiltunen
0c82988b44
cleanup: refactor and remove duplication from SetSpeed() implementations.
2022-10-25 19:24:55 +03:00
Juho Hiltunen
84f58824af
cleanup: refactor and remove duplication from SetSpeed() implementations.
2022-10-25 19:24:55 +03:00
Juho Hiltunen
9e9fb16b56
cleanup: use parameters instead of globals with SetSpeedMods
2022-10-25 19:24:55 +03:00
Juho Hiltunen
a4c70d7921
cleanup: remove setting samplerate with Sonic.
...
we currently only support 22050 as samplerate so this code has no
effect. This should be readded to setSpeed() with and without Sonic if
multiple samplerates are supported in the future.
2022-10-25 18:24:27 +03:00
Samuel Thibault
4f556bb4fd
Add arm CI
...
This allows to cover
- another arch that x86, which is also very common
- an arch where char is unsigned
- a little-endian arch
This is running under qemu-user, so significantly slower and doesn't support
ptrace thus no address sanitizer etc. but at least the undefined sanitizer
works.
2022-10-25 13:59:27 +02:00
Samuel Thibault
548c3e3069
Factorize deps list ( #1462 )
2022-10-24 22:37:34 +02:00
Samuel Thibault
4281b15f4f
Factorize deps list
2022-10-24 22:13:38 +02:00
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
Samuel Thibault
819cab294e
Add almost-33-digits test
2022-10-23 19:52:07 +02:00
Samuel Thibault
4f3aa3335e
Fix long numbers ( #1458 )
...
nvda happened to be speaking 3647 because strtoi was actually
overflowing. Better make sure to have proper ascii to number translation
before continuing.
Fixes #1385
2022-10-23 19:33:02 +02:00
Samuel Thibault
0127aea5c9
Fix long numbers
...
nvda happened to be speaking 3647 because strtoi was actually
overflowing. Better make sure to have proper ascii to number translation
before continuing.
Fixes #1385
2022-10-23 19:25:25 +02: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