mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-14 01:32:29 +00:00
headers: add new file synthdata.h with declarations of functions in synthdata.c
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#include <espeak-ng/encoding.h>
|
||||
|
||||
#include "readclause.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "speech.h"
|
||||
#include "phoneme.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include <espeak-ng/encoding.h>
|
||||
|
||||
#include "phonemelist.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "phoneme.h"
|
||||
#include "voice.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include "readclause.h"
|
||||
#include "setlengths.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "phoneme.h"
|
||||
#include "voice.h"
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <espeak-ng/encoding.h>
|
||||
|
||||
#include "readclause.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "speech.h"
|
||||
#include "phoneme.h"
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <espeak-ng/encoding.h>
|
||||
|
||||
#include "readclause.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "speech.h"
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (C) 2005 to 2015 by Jonathan Duddington
|
||||
* email: jonsd@users.sourceforge.net
|
||||
* 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_SYNTHDATA_H
|
||||
#define ESPEAK_NG_SYNTHDATA_H
|
||||
|
||||
#include "translate.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// forward declare these to avoid including the whole synthesize.h
|
||||
struct PHONEME_LIST;
|
||||
struct PHONEME_DATA;
|
||||
struct WORD_PH_DATA;
|
||||
|
||||
void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_DATA *phdata, WORD_PH_DATA *worddata);
|
||||
void InterpretPhoneme2(int phcode, PHONEME_DATA *phdata);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
#include "intonation.h"
|
||||
#include "setlengths.h"
|
||||
#include "synthdata.h"
|
||||
|
||||
#include "phoneme.h"
|
||||
#include "voice.h"
|
||||
|
||||
@@ -749,8 +749,6 @@ int TranslateWord(Translator *tr, char *word1, WORD_TAB *wtab, char *word_out);
|
||||
void TranslateClause(Translator *tr, int *tone, char **voice_change);
|
||||
|
||||
void SetVoiceStack(espeak_VOICE *v, const char *variant_name);
|
||||
void InterpretPhoneme(Translator *tr, int control, PHONEME_LIST *plist, PHONEME_DATA *phdata, WORD_PH_DATA *worddata);
|
||||
void InterpretPhoneme2(int phcode, PHONEME_DATA *phdata);
|
||||
char *WritePhMnemonic(char *phon_out, PHONEME_TAB *ph, PHONEME_LIST *plist, int use_ipa, int *flags);
|
||||
|
||||
extern FILE *f_trans; // for logging
|
||||
|
||||
Reference in New Issue
Block a user