Nolan Darilek
8b506a89e0
...
2022-12-02 13:00:20 -06:00
Nolan Darilek
dcaf5b914d
...
2022-12-02 12:59:33 -06:00
Nolan Darilek
359b1c8053
Obnoxious that I can't just push this directly to the mac and test for some reason...
2022-12-02 12:58:46 -06:00
Nolan Darilek
527b4cd61e
Small tweaks.
2022-12-02 12:57:34 -06:00
Nolan Darilek
97fa370dec
Refactor AVFoundation to oxilangtag.
2022-12-02 12:52:08 -06:00
Benjamin Klum
ddf96c10aa
#33 Remove unnecessary unsafe keyword
2022-10-16 23:15:52 +02:00
Benjamin Klum
3fdd452646
#33 Fix AVFoundation crash on macOS when getting voices
...
by preventing manual cleanup of non-owned objects
2022-10-16 22:35:03 +02:00
Nolan Darilek
507d0b5418
Replace some `unwrap` calls with `ok_or(Error::OperationFailed)`.
2022-06-14 13:09:50 -05:00
Nolan Darilek
40e28876b2
Remove unnecessary printlns and link directives.
2022-05-09 08:46:46 -05:00
Nolan Darilek
4079f4b3c4
Fix mismatched gender codes.
2022-05-09 08:44:33 -05:00
Nolan Darilek
569bb160b8
Try to intercept cases where voice might be nil.
2022-03-31 14:48:03 -05:00
Nolan Darilek
9bd767629a
Remove unspecified gender in favor of `Option`.
2022-03-31 13:18:57 -05:00
Nolan Darilek
219cfbbe00
src
...
Add voices support to AvFoundation backend.
2022-03-31 13:10:38 -05:00
Nolan Darilek
e3542abd7c
Stub out methods for now.
2022-03-31 11:52:30 -05:00
Nolan Darilek
c222c087b2
cargo fmt
2022-03-30 10:18:22 -05:00
francois-caddet
88f4598ec6
Merge branch 'master' into feature/voices
2022-03-20 13:02:37 +01:00
Nolan Darilek
fb7f1dddfc
*sigh* Fix stupid M1/ARM casting issue. I hate Apple.
2021-03-15 14:02:05 -05:00
Nolan Darilek
50528ce2d1
Another comparison check fix.
2021-03-15 13:47:41 -05:00
Nolan Darilek
8c2aae7afd
Try another initialization fix.
2021-03-15 13:46:22 -05:00
Nolan Darilek
ed2d2e76c3
And this is what happens when I don't test on actual hardware.
2021-03-15 13:06:49 -05:00
Nolan Darilek
45255a8049
Fix another possibly broken comparison.
2021-03-15 13:04:38 -05:00
Nolan Darilek
c65c0022d8
(Hopefully) initialize utterances correctly.
2021-03-15 13:03:41 -05:00
Nolan Darilek
cdfb7ddb77
Even more bloody logging.
2021-03-12 06:59:49 -06:00
Nolan Darilek
290eb06d02
Even more trace logging.
2021-03-12 06:38:46 -06:00
Nolan Darilek
e91637a67c
Add even more trace logging.
2021-03-12 06:28:02 -06:00
Nolan Darilek
1f510120a5
Add trace logging in AVFoundation backend.
2021-03-12 05:58:30 -06:00
Nolan Darilek
1d075f7ece
When speech is interrupted on AVFoundation, only stop if already speaking. May address a possible deadlock.
2021-03-12 05:50:08 -06:00
Nolan Darilek
a22ee53727
Fix Clippy warnings.
2021-03-12 05:48:14 -06:00
Nolan Darilek
d3e05b5a7a
Revert "Pass TTS instance as first argument to utterance callbacks."
...
This appears to break callbacks, and is of limited utility.
This reverts commit 29c0a8463e
.
2020-11-03 11:03:55 -06:00
Nolan Darilek
29c0a8463e
Pass TTS instance as first argument to utterance callbacks.
2020-11-02 22:40:30 -06:00
Nolan Darilek
cf0ad2221e
Derive Debug.
2020-11-02 21:44:47 -06:00
Nolan Darilek
551bb1292e
Make `TTS` clonable.
...
Also, add other possibly useful derives.
2020-11-02 21:27:13 -06:00
Nolan Darilek
6f12974ce4
Implement stop callback on MacOS.
2020-10-08 08:07:33 -05:00
François Caddet
d2c42d97f5
the voices::Backend trait is almost stable
2020-09-28 11:18:54 +02:00
François Caddet
3294a82485
some fixes
...
now build on macOS
2020-09-27 20:35:40 +02:00
François Caddet
f78aed211f
fix conflicts
2020-09-26 23:36:15 +02:00
Francois Caddet
47cbb80595
Merge branch 'develop' into feature/voices
2020-09-26 18:20:10 +02:00
Nolan Darilek
589c613bbe
Implement FnMut callbacks on AV Foundation, and fix warnings.
2020-09-25 11:14:26 -05:00
Nolan Darilek
251fb8d8c1
Implement callbacks on AVFoundation.
2020-09-23 12:21:05 -05:00
Nolan Darilek
bd57075d53
Implement unused framework for AVFoundation callbacks.
2020-09-23 11:28:56 -05:00
Nolan Darilek
017aa8863b
Remove unused import and fix i~~OS builds.
2020-09-22 14:30:17 -05:00
Nolan Darilek
6b023c3071
Add AV Foundation support for returning utterance IDs.
2020-09-22 14:08:19 -05:00
François Caddet
0fb6c62d83
fix some parameters types and implement set_voice
...
We have an ilegal hardware instruction in
backend::av_foundation::voices::AVSpeechSynthesisVoice::new(identifier)
when sending voiceWithIdentifier. Is it because the runLoop is not
runing when it's called?
2020-09-04 15:48:56 +02:00
François Caddet
6ed94686f3
implement set_voice for AVFoundation backend
...
- TODO: test the implementation
- fixed: set_voice mutability of self parameter
2020-09-03 18:40:32 +02:00
François Caddet
5b0d1b6621
Add voices feature
...
Implemented for AVFoundation backend but set_voice has no effect for now
Warning: does not build on Linux or windows for now
2020-09-03 16:50:11 +02:00
Nolan Darilek
0d61dc258f
Set up conditional compilation for iOS.
2020-09-02 16:03:04 -05:00
Nolan Darilek
2f85c3b2bf
Add iOS build.
2020-08-18 15:16:30 -05:00
Nolan Darilek
c5b1ff1944
Add AVFoundation backend, used automatically on MacOS 10.14 and above.
2020-08-13 11:08:00 -05:00