1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-25 18:29:37 +00:00
Commit Graph

75 Commits

Author SHA1 Message Date
mcb2003
b972f44bc9 FFI: Don't use libc for C types like char and float
This insures the correct C standards are followed, but doesn't work on
wasm32-unknown-unknown targets, because there *is* no libc. Given that
the definition of `char` and `float` are very universal anyway, it makes
sense to just use `i8` and `f32`.
2021-03-06 11:30:42 +00:00
mcb2003
0644f03f34 FFI: Automatically generate bindings when building with ffi feature. 2021-03-06 10:26:13 +00:00
mcb2003
9ab38f550f Merge branch 'master' into c-ffi 2021-03-06 08:59:25 +00:00
42879dfa1f Refactor to new windows crate. 2021-01-22 11:28:42 -06:00
296fa89f5d Bump version, and use automatically-provided feature provided by optional tolk dependency. 2021-01-21 10:49:11 -06:00
mcb2003
0ca3100a97 FFI: Create ffi Cargo feature and include ffi module. 2020-12-31 13:54:15 +00:00
22cff2ddd1 Bump version. 2020-12-30 14:23:58 -06:00
69af3465b3 We don't need dylib on Android, and it breaks WinRT. Revert. 2020-12-30 14:21:32 -06:00
adfb2146ac Bump version. 2020-12-30 12:53:21 -06:00
5634fdb393 Block initialization until TTS finishes initializing from Android. 2020-12-30 09:24:13 -06:00
965bea0adf TTS seems to initialize now. 2020-12-29 14:10:39 -06:00
fc20431916 Refactor Android example to full, self-contained app. 2020-12-29 11:15:24 -06:00
cb91760468 Set Android API versions, and add Makefile.toml convenience script for getting Android logs. 2020-12-28 05:39:20 -06:00
187cd71eeb Add Android example. 2020-12-27 10:42:41 -06:00
5849e340c9 Add initial Android stubs. 2020-12-27 09:41:34 -06:00
6d17447350 Remove unnecessary dependencies and bump versions. 2020-12-07 22:39:30 -06:00
22007fbf79 Bump version. 2020-12-07 21:46:46 -06:00
d8f2b3fb00 I'll do my own queuing, MediaPlaybackList is either the wrong tool for the job or way too buggy. 2020-12-07 21:35:07 -06:00
a905439d9c Add strategic backoff in WinRT backend to (hopefully) eliminate a deadlock. 2020-12-07 14:58:59 -06:00
49e8c0e5dc Bump version. 2020-12-03 13:31:09 -06:00
184becfd1a Bump version. 2020-11-25 10:16:33 -06:00
fa2903606e Bump version. 2020-11-18 08:27:09 -06:00
1cbeab6ea9 Bump version. 2020-11-17 10:25:45 -06:00
80fa5d4583 Bump version. 2020-11-11 10:29:49 -06:00
e1791c7046 Bump version. 2020-11-03 12:02:37 -06:00
df4adc81a7 Bump version. 2020-11-03 11:20:29 -06:00
551bb1292e Make TTS clonable.
Also, add other possibly useful derives.
2020-11-02 21:27:13 -06:00
565aa6d654 Fix issue where is_speaking always returns true under WinRT, and bump version. 2020-11-02 13:30:39 -06:00
efdb274eb4 Bump version. 2020-11-02 10:12:25 -06:00
1d48cb93d7 Bump version and dependencies. 2020-10-30 10:28:02 -05:00
5d1625e5e2 Bump version. 2020-10-08 20:14:38 -05:00
fa216a534e Gate Tolk behind use_tolk feature to support compilation on UWP. 2020-10-08 19:07:07 -05:00
6eb03fb1a3 Bump version. 2020-10-08 09:47:28 -05:00
724dd1214f Bump version. 2020-10-08 08:09:28 -05:00
8c783205c3 Implement utterance_stop callback on most platforms. 2020-10-08 07:56:45 -05:00
1f22843086 Refactor Linux, Windows, and Wasm platforms to use FnMut for callbacks, and bump version. 2020-09-25 11:08:19 -05:00
2c70f77a15 Bump version. 2020-09-24 18:21:14 -05:00
a22242af50 Implement callbacks for web backend. 2020-09-24 14:26:30 -05:00
d6508edd12 Remove workaround for incorrect Tolk string handling, pin minimum working version, and bump version. 2020-09-21 15:13:22 -05:00
c8fd02b448 Bump version. 2020-09-02 16:51:25 -05:00
6c091f3284 Switch Speech-dispatcher initialization to threaded mode so callbacks work and is_speaking is correct. 2020-08-25 11:50:25 -05:00
951e31b284 Implement is_speaking For Speech-dispatcher. 2020-08-19 21:28:30 -05:00
bdace524b9 Bump version. 2020-08-18 15:22:46 -05:00
2f85c3b2bf Add iOS build. 2020-08-18 15:16:30 -05:00
27e9aaf034 Add iOS build. 2020-08-18 14:17:06 -05:00
abe5292868 Bump version. 2020-08-13 11:15:52 -05:00
c5b1ff1944 Add AVFoundation backend, used automatically on MacOS 10.14 and above. 2020-08-13 11:08:00 -05:00
753f6c5ecd WIP: Initial support for MacOS/NSSpeechSynthesizer.
* Add necessary dependencies, build script, and `NSSpeechSynthesizer` backend.
* Get very basic speech working.

Needs a delegate to handle queued speech, and currently segfaults if one is set.
2020-08-11 12:11:19 -05:00
73786534dc Bump version. 2020-07-07 09:09:18 -05:00
7ae3faac63 Bump version. 2020-07-06 12:52:39 -05:00