From 8c8dc0ae9f01f58bb0301519046746c9ff5732a6 Mon Sep 17 00:00:00 2001 From: Francois Caddet Date: Sat, 26 Sep 2020 23:03:56 +0200 Subject: [PATCH] add voices value returned by the backends --- src/backends/speech_dispatcher.rs | 1 + src/backends/web.rs | 1 + src/backends/winrt.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/src/backends/speech_dispatcher.rs b/src/backends/speech_dispatcher.rs index afbbba3..7fa1fbe 100644 --- a/src/backends/speech_dispatcher.rs +++ b/src/backends/speech_dispatcher.rs @@ -75,6 +75,7 @@ impl Backend for SpeechDispatcher { pitch: true, volume: true, is_speaking: true, + voices: false, utterance_callbacks: true, } } diff --git a/src/backends/web.rs b/src/backends/web.rs index a43b2c8..c2d6ddd 100644 --- a/src/backends/web.rs +++ b/src/backends/web.rs @@ -47,6 +47,7 @@ impl Backend for Web { pitch: true, volume: true, is_speaking: true, + voices: true, utterance_callbacks: true, } } diff --git a/src/backends/winrt.rs b/src/backends/winrt.rs index 98826e6..d22d6a3 100644 --- a/src/backends/winrt.rs +++ b/src/backends/winrt.rs @@ -140,6 +140,7 @@ impl Backend for WinRT { pitch: true, volume: true, is_speaking: true, + voices: true, utterance_callbacks: true, } }