Commit 501b9ed8 authored by Philip Withnall's avatar Philip Withnall

text-to-speech: Fix code indentation from conversion from ODT

Signed-off-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: default avatarMathieu Duponchelle <mathieu.duponchelle@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D4070
parent 4cefab74
......@@ -1034,27 +1034,25 @@ The code listing is given in pseudo-code.
```
/* TTS context to contain relevant state and loaded resources and
* settings. */
class TtsContext {
async TtsRequest send_request (const string text_to_say,
TtsPriority priority=TEXT,
const string language=null,
TtsVoiceRate voice_rate=TtsVoiceRate.NORMAL,
TtsVolume volume=TtsVolume.NORMAL,
TtsPitch pitch=TtsPitch.NORMAL);
TtsPriority priority=TEXT,
const string language=null,
TtsVoiceRate voice_rate=TtsVoiceRate.NORMAL,
TtsVolume volume=TtsVolume.NORMAL,
TtsPitch pitch=TtsPitch.NORMAL);
async TtsRequest send_sound_icon_request (const string icon_name,
TtsPriority priority=TEXT,
const string language=null,
TtsVoiceRate voice_rate=TtsVoiceRate.NORMAL,
TtsVolume volume=TtsVolume.NORMAL,
TtsPitch pitch=TtsPitch.NORMAL);
TtsPriority priority=TEXT,
const string language=null,
TtsVoiceRate voice_rate=TtsVoiceRate.NORMAL,
TtsVolume volume=TtsVolume.NORMAL,
TtsPitch pitch=TtsPitch.NORMAL);
}
/* This represents a single pending TTS request. The object may persist
* after the underlying request has been handled, until the application
* programmer unrefs the object. */
class TtsRequest {
async void pause ();
async void resume ();
......@@ -1069,7 +1067,6 @@ class TtsRequest {
/* In a GLib API, these would be GObject::notify::state and
* GObject::notify::current_offset. */
signal notify_state (TtsRequestState state);
signal notify_current_offset (unsigned int current_offset);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment