Browse Source

headers: add new file phonemelist.h with declarations of functions in phonemelist.c

master
Juho Hiltunen 7 years ago
parent
commit
d395efa481

+ 2
- 0
src/libespeak-ng/phonemelist.c View File

@@ -29,6 +29,8 @@
#include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h>

#include "phonemelist.h"

#include "phoneme.h"
#include "voice.h"
#include "synthesize.h"

+ 38
- 0
src/libespeak-ng/phonemelist.h View File

@@ -0,0 +1,38 @@
/*
* Copyright (C) 2005 to 2015 by Jonathan Duddington
* email: [email protected]
* Copyright (C) 2015-2018 Reece H. Dunn
* Copyright (C) 2018 Juho Hiltunen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/

#ifndef ESPEAK_NG_PHONEMELIST_H
#define ESPEAK_NG_PHONEMELIST_H

#include "translate.h"

#ifdef __cplusplus
extern "C"
{
#endif

#ifdef __cplusplus
}
#endif

void MakePhonemeList(Translator *tr, int post_pause, bool start_sentence);

#endif


+ 1
- 0
src/libespeak-ng/translate.c View File

@@ -33,6 +33,7 @@
#include <espeak-ng/encoding.h>

#include "readclause.h"
#include "phonemelist.h"

#include "speech.h"
#include "phoneme.h"

+ 0
- 1
src/libespeak-ng/translate.h View File

@@ -738,7 +738,6 @@ int HashDictionary(const char *string);
void print_dictionary_flags(unsigned int *flags, char *buf, int buf_len);
char *DecodeRule(const char *group_chars, int group_length, char *rule, int control);

void MakePhonemeList(Translator *tr, int post_pause, bool new_sentence);
void ApplySpecialAttribute2(Translator *tr, char *phonemes, int dict_flags);
void AppendPhonemes(Translator *tr, char *string, int size, const char *ph);


Loading…
Cancel
Save