mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 07:48:47 +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:
@@ -43,6 +43,7 @@
|
||||
#include "dictionary.h" // for strncpy0
|
||||
#include "mnemonics.h" // for LookupMnemName, MNEM_TAB,
|
||||
#include "readclause.h" // for PARAM_STACK, param_stack, AddNameData
|
||||
#include "soundicon.h" // for LoadSoundFile2
|
||||
#include "synthesize.h" // for SPEED_FACTORS, speed
|
||||
#include "translate.h" // for CTRL_EMBEDDED, IsDigit09, utf8_out
|
||||
#include "voice.h" // for SelectVoice, SelectVoiceByName
|
||||
|
||||
Reference in New Issue
Block a user