mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 06:12:55 +00:00
Don't add the size parameter to the synthesize method structures as the synthesize methods don't use the size parameter.
This commit is contained in:
@@ -47,7 +47,6 @@ t_espeak_command *create_espeak_text(const void *text, size_t size, unsigned int
|
||||
data = &(a_command->u.my_text);
|
||||
data->unique_identifier = ++my_current_text_id;
|
||||
data->text = a_text;
|
||||
data->size = size;
|
||||
data->position = position;
|
||||
data->position_type = position_type;
|
||||
data->end_position = end_position;
|
||||
@@ -117,7 +116,6 @@ t_espeak_command *create_espeak_mark(const void *text, size_t size, const char *
|
||||
data = &(a_command->u.my_mark);
|
||||
data->unique_identifier = ++my_current_text_id;
|
||||
data->text = a_text;
|
||||
data->size = size;
|
||||
data->index_mark = a_index_mark;
|
||||
data->end_position = end_position;
|
||||
data->flags = flags;
|
||||
|
||||
@@ -44,7 +44,6 @@ typedef enum {
|
||||
typedef struct {
|
||||
unsigned int unique_identifier;
|
||||
void *text;
|
||||
size_t size;
|
||||
unsigned int position;
|
||||
espeak_POSITION_TYPE position_type;
|
||||
unsigned int end_position;
|
||||
@@ -55,7 +54,6 @@ typedef struct {
|
||||
typedef struct {
|
||||
unsigned int unique_identifier;
|
||||
void *text;
|
||||
size_t size;
|
||||
const char *index_mark;
|
||||
unsigned int end_position;
|
||||
unsigned int flags;
|
||||
|
||||
Reference in New Issue
Block a user