Browse Source

Return the status from Synthesize directly.

master
Reece H. Dunn 9 years ago
parent
commit
e294760385
1 changed files with 1 additions and 5 deletions
  1. 1
    5
      src/libespeak-ng/speech.c

+ 1
- 5
src/libespeak-ng/speech.c View File

const char *index_mark, unsigned int end_position, const char *index_mark, unsigned int end_position,
unsigned int flags, void *user_data) unsigned int flags, void *user_data)
{ {
espeak_ERROR aStatus;

InitText(flags); InitText(flags);


my_unique_identifier = unique_identifier; my_unique_identifier = unique_identifier;


end_character_position = end_position; end_character_position = end_position;


aStatus = Synthesize(unique_identifier, text, flags | espeakSSML);

return aStatus;
return Synthesize(unique_identifier, text, flags | espeakSSML);
} }


void sync_espeak_Key(const char *key) void sync_espeak_Key(const char *key)

Loading…
Cancel
Save