Class

SpielVoice

Description [src]

final class Spiel.Voice : GObject.Object {
  /* No available fields */
}

Represents a voice implemented by a speech provider.

A DBus speech provider advertises a list of voices that it implements. Each voice will have human-readable name, a unique identifier, and a list of languages supported by the voice.

Ancestors

Instance methods

spiel_voice_compare

Compares the two SpielVoice values and returns a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second.

since: 1.0

spiel_voice_equal

Compares the two SpielVoice values and returns TRUE if equal.

since: 1.0

spiel_voice_get_features

Gets the list of supported features.

since: 1.0

spiel_voice_get_identifier

Gets the identifier, unique to SpielVoice:provider.

since: 1.0

spiel_voice_get_languages

Gets the list of supported languages.

since: 1.0

spiel_voice_get_name

Gets the name.

since: 1.0

spiel_voice_get_output_format

Gets the output format.

since: 1.0

spiel_voice_get_provider

Gets the provider associated with this voice.

since: 1.0

spiel_voice_hash

Converts a SpielVoice to a hash value.

since: 1.0

spiel_voice_set_output_format

Sets the audio output format.

since: 1.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Spiel.Voice:features

A bitfield of supported features.

since: 1.0

Spiel.Voice:identifier

A unique identifier of the voice. The uniqueness should be considered in the scope of the provider (ie. two providers can use the same identifier).

since: 1.0

Spiel.Voice:languages

A list of supported languages encoded as BCP 47 tags.

since: 1.0

Spiel.Voice:name

A human readable name for the voice. Not guaranteed to be unique. May, or may not, be localized by the speech provider.

since: 1.0

Spiel.Voice:provider

The speech provider that implements this voice.

since: 1.0

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct SpielVoiceClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.