mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-18 10:48:54 +00:00
code cleanup: move soundicon logic to a new file
Soundicons are used for external audio with SSML <audio> tag and for replacing punctuation names with sound files in LoadConfig(). Currently there's a bug wih soundicon slots: if both LoadConfig and <audio> are used, the punctuation reserves all slots and no sound from <audio> is played.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "phoneme.h" // for PHONEME_TAB, PHONEME_TAB_LIST
|
||||
#include "speech.h" // for path_home, GetFileLength, PATHSEP
|
||||
#include "mbrola.h" // for mbrola_name
|
||||
#include "soundicon.h" // for N_SOUNDICON_SLOTS, soundicon_tab
|
||||
#include "synthesize.h" // for PHONEME_LIST, frameref_t, PHONE...
|
||||
#include "translate.h" // for Translator, LANGUAGE_OPTIONS
|
||||
#include "voice.h" // for ReadTonePoints, tone_points, voice
|
||||
|
||||
Reference in New Issue
Block a user