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
d3ffd5078f
cargo fmt
2020-08-24 16:46:57 -05:00
Nolan Darilek
1507527175
Add `Default` implementation for `Features` so backends need only specify features they actually support.
2020-08-24 16:44:00 -05:00
Nolan Darilek
c5b1ff1944
Add AVFoundation backend, used automatically on MacOS 10.14 and above.
2020-08-13 11:08:00 -05:00
Nolan Darilek
2d0ab8889a
Eliminate a warning.
2020-08-13 06:58:16 -05:00
Nolan Darilek
cc2a4c12f7
Rename ns_speech_synthesizer backend to appkit.
2020-08-13 06:46:16 -05:00