Commit Graph
5534 Commits
Author SHA1 Message Date
Yury Popov 1cc91d4cc1 tests: fix api test for async enabled 2022-11-27 17:45:17 +03:00
Yury Popov 820b85ed21 fifo, event: fix thread management 2022-11-27 17:45:17 +03:00
Yury Popov 78ac6c4a88 code cleanup: do not compile mbrola if not enabled 2022-11-27 14:54:51 +03:00
Yury Popov 92beee2b4c code cleanup: remove dead code 2022-11-27 14:54:51 +03:00
Yury Popov ca1f590101 code cleanup: standartize definitions 2022-11-27 14:54:51 +03:00
Yury Popov c8a21a5463 code cleanup: header detection with has_include 2022-11-27 14:54:48 +03:00
Alexander Epaneshnikov 6a8b6ae723 android: set buffer size to 300 (#1558)
ref: #1554
ref for buffer size:
https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
2022-11-27 12:55:20 +03:00
Alexander Epaneshnikov e3c876325d android: set buffer size to 300
ref: #1554
ref for buffer size: https://github.com/nvaccess/nvda/blob/a6fb2392083b5fa1bae926102135ad452746ad3c/source/synthDrivers/_espeak.py#L338
2022-11-24 02:08:43 +03:00
Alexander Epaneshnikov f138267d7b tests: build with klatt and speechplayer (#1557)
Ref: #1549
2022-11-23 21:11:49 +03:00
Yury Popov b996d39d40 splayer: fix memory leak on espeak terminate 2022-11-22 19:50:31 +03:00
Yury Popov 82e56b88dd tests: build with klatt and speechplayer 2022-11-22 19:45:18 +03:00
Alexander Epaneshnikov a8ea91b2ae espeak-ng: Add -P option to configure pitch range (#1552) 2022-11-22 15:59:22 +03:00
Samuel Thibault b5b3231e52 espeak-ng: Add -P option to configure pitch range 2022-11-21 20:52:38 +01:00
Juho Hiltunen 6362245b24 code cleanup: combine two identical if-clauses 2022-11-20 19:27:31 +02:00
Juho Hiltunen e5f95289ad code cleanup: remove setting unread variable. 2022-11-20 19:15:19 +02:00
Juho Hiltunen 745ae078fb code cleanup: reduce variable scopes in compiledata.c 2022-11-20 19:00:53 +02:00
Juho Hiltunen bf6d99cb89 Merge branch 'duplicates' 2022-11-20 18:29:36 +02:00
Juho Hiltunen c496da5bf6 code cleanup: reduce duplication with new function CalculateSample() 2022-11-20 18:22:27 +02:00
Juho Hiltunen bbfef6a269 code cleanup: reduce duplication with new function DollarRule() 2022-11-20 17:31:27 +02:00
Juho Hiltunen 33df55bf12 code cleanup: next part (#1548)
Contribute to #68 

Reduce number of externs and static-returns
2022-11-19 20:44:56 +02:00
Yury Popov 100df4c067 code cleanup: reduce return of static buffers 2022-11-19 17:52:16 +03:00
Yury Popov 29f7afc688 code cleanup: const vowels_be in SelectTranslator 2022-11-19 17:52:16 +03:00
Yury Popov 25c4dc150a code cleanup: static phoneme_callback 2022-11-19 17:52:16 +03:00
Yury Popov fdc2984386 code cleanup: static uri_callback 2022-11-19 17:52:16 +03:00
Yury Popov f5ead44481 code cleanup: static current_phoneme_table 2022-11-19 17:52:16 +03:00
Yury Popov 504ab4937d code cleanup: static current_voice_selected 2022-11-19 17:29:16 +03:00
Yury Popov 2ddb8ce2db code cleanup: const embedded_default 2022-11-19 17:29:16 +03:00
Yury Popov 89b2a55ea4 code cleanup: remove static from WordToString 2022-11-19 17:29:16 +03:00
Yury Popov 5a37bc301b code clanup: remove unused samplerate_native 2022-11-19 17:29:16 +03:00
Yury Popov 3de7c4cdb1 code cleanup: remove unused resample_count 2022-11-19 17:29:16 +03:00
Alexander Epaneshnikov 3556c543ab Rework CI (#1539)
- Add more compilers - especially GCC on macOS and Clang.
- Add more architectures - especially RISC-V-64
- Move build outside of QEMU (use cross-compilation)
- Use qemu-user for test on target environment
- Add Android CI with APK artifacts
2022-11-19 17:17:19 +03:00
Juho Hiltunen b368302170 MerGe branch 'phonemelist_cleanup' 2022-11-19 12:07:58 +02:00
Juho Hiltunen 7c13683b68 code cleanup: reduce code duplication with ReInterpretPhoneme().
Found with pmd-cpd scanner. The new function could probably be named better.
2022-11-19 11:41:20 +02:00
Juho Hiltunen e8e5e06422 cleanup: remove redundant *next2 2022-11-19 11:41:20 +02:00
Juho Hiltunen 4cbe26b711 cleanup: refactor check for LOPT_REGRESSIVE_VOICING to SetRegressiveVoicing() 2022-11-19 11:41:20 +02:00
Juho Hiltunen 84609c27bd cleanup: reduce variable scopes in phonemelist.c 2022-11-19 11:34:08 +02:00
Juho Hiltunen c522d8790d code cleanup: use statics and consts when possible (#1544)
Contribute to #68
2022-11-19 11:11:14 +02:00
Alexander Epaneshnikov c9c3e3c776 code cleanup: move vowelcharts out of phsource (#1540)
Tidying up a data source bundle, that is embedded e.g. in iOS app
2022-11-18 18:17:48 +03:00
Yury Popov 2929b9e199 code cleanup: use statics and consts when possible 2022-11-18 17:48:04 +03:00
Yury Popov 9e74f721ae code cleanup: move vowelcharts out of phsource 2022-11-18 10:32:19 +03:00
Yury Popov 6b7dda4cb5 ci: Disable Thread sanitizer for aarch64 2022-11-18 00:44:50 +03:00
Yury Popov c24a431c96 ci: add Android 2022-11-18 00:44:43 +03:00
Yury Popov 54d738259b ci: rework jobs, add more platforms 2022-11-18 00:44:27 +03:00
Yury Popov 391a7191ad ci: Split dist checks from CI run, upgrade outdated actions 2022-11-18 00:44:13 +03:00
Juho Hiltunen 0f3fb42b62 code cleanup: reduce global externs (#1536)
Contribute to #68

Reduce count of globals / externs that could be a file-local static
variables
2022-11-16 06:33:32 +02:00
Yury Popov 3da51991f8 code cleanup: reduce global externs 2022-11-15 22:38:22 +03:00
Juho Hiltunen 1b930c53f3 Allow <break> at the beginning of SSML (#1531)
Fixes #1232
2022-11-15 20:51:28 +02:00
Juho Hiltunen 7ed32edc63 code cleanup: localize compiledict static objects (#1534)
Contribute to #68

compiledict.c is clean from global state now

```bash
nm -C -l -fbsd src/libespeak-ng/la-compiledict.o | grep -E ' b | B '
```
2022-11-15 20:46:22 +02:00
Juho Hiltunen 4e7b0ddc75 code cleanup: localize compiledata static objects (#1532)
Contribute to #68

compiledata.c is clean from global state now

```bash
nm -C -l -fbsd src/libespeak-ng/la-compiledata.o | grep -E ' b | B '
```
2022-11-15 20:45:13 +02:00
Alexander Epaneshnikov 6382e36787 Fix rate setting without libsonic (#1524)
Move a code that should be shared outside HAVE_SONIC_H ifdef.

That also simplifies prosody SSML tests (made by @sthibaul) by removing
unnecessary cases.

Ref: #1512 #1368
2022-11-15 19:36:15 +03:00