mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-12-04 07:48:47 +00:00
code cleanup: static uri_callback
This commit is contained in:
@@ -84,7 +84,6 @@ static int min_buffer_length = 60; // minimum buffer length in ms
|
||||
static espeak_ng_STATUS err = ENS_OK;
|
||||
|
||||
static t_espeak_callback *synth_callback = NULL;
|
||||
int (*uri_callback)(int, const char *, const char *) = NULL;
|
||||
int (*phoneme_callback)(const char *) = NULL;
|
||||
|
||||
char path_home[N_PATH_HOME]; // this is the espeak-ng-data directory
|
||||
@@ -654,11 +653,6 @@ ESPEAK_API void espeak_SetSynthCallback(t_espeak_callback *SynthCallback)
|
||||
#endif
|
||||
}
|
||||
|
||||
ESPEAK_API void espeak_SetUriCallback(int (*UriCallback)(int, const char *, const char *))
|
||||
{
|
||||
uri_callback = UriCallback;
|
||||
}
|
||||
|
||||
ESPEAK_API void espeak_SetPhonemeCallback(int (*PhonemeCallback)(const char *))
|
||||
{
|
||||
phoneme_callback = PhonemeCallback;
|
||||
|
||||
Reference in New Issue
Block a user