Table of Contents

Enum BackendFeatures

Namespace
Refractor
Assembly
Refractor.dll

What a backend implements, plus whether its engine is running right now. Each operation flag names the Backend member it allows; a member whose flag is missing throws PrismException with NotImplemented.

[Flags]
public enum BackendFeatures : ulong

Fields

Braille = 16

Braille(string).

CountVoices = 131072

VoiceCount.

GetBitDepth = 16777216

BitDepth.

GetChannels = 4194304

Channels.

GetPitch = 32768

Getting Pitch.

GetRate = 8192

Getting Rate.

GetSampleRate = 8388608

SampleRate.

GetVoice = 1048576

Getting VoiceIndex.

GetVoiceLanguage = 524288

GetVoiceLanguage(int).

GetVoiceName = 262144

GetVoiceName(int).

GetVolume = 2048

Getting Volume.

IsScreenReader = 72057594037927936

Output goes through a screen reader. Never set together with IsSpeechEngine.

IsSpeaking = 64

IsSpeaking.

IsSpeechEngine = 144115188075855872

A standalone speech engine. Never set together with IsScreenReader.

IsSupportedAtRuntime = 1

The engine or screen reader is available. Advisory: initializing can still fail.

None = 0

No features.

Output = 32

Output(string, bool).

Pause = 256

Pause().

RefreshVoices = 65536

RefreshVoices().

RequiresExplicitSelection = 288230376151711744

Skipped by CreateBest() and AcquireBest(), so it is only used when created or acquired by id.

Resume = 512

Resume().

SetPitch = 16384

Setting Pitch.

SetRate = 4096

Setting Rate.

SetVoice = 2097152

Setting VoiceIndex.

SetVolume = 1024

Setting Volume.

SilenceTrimmingOnSpeak = 33554432

Reserved by prism.

SilenceTrimmingOnSpeakToMemory = 67108864

Leading and trailing silence is trimmed before audio reaches the callback.

Speak = 4

Speak(string, bool).

SpeakSsml = 134217728

Reserved by prism.

SpeakToMemory = 8

SpeakToMemory(string, AudioCallback).

SpeakToMemorySsml = 268435456

Reserved by prism.

Stop = 128

Stop().