mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
Merge remote-tracking branch 'valdisvi/master'
This commit is contained in:
@@ -387,6 +387,7 @@ the 1.24.02 source commit.
|
||||
|
||||
## Feedback
|
||||
|
||||
Test latest development version at [eSpeakNG online](https://odo.lv/Espeak).
|
||||
|
||||
Report bugs to the [espeak-ng issues](https://github.com/espeak-ng/espeak-ng/issues)
|
||||
page on GitHub.
|
||||
|
||||
@@ -234,6 +234,7 @@ double GetFrameRms(SpectFrame *frame, int seq_amplitude)
|
||||
return frame->rms;
|
||||
}
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
SpectSeq *SpectSeqCreate()
|
||||
{
|
||||
SpectSeq *spect = malloc(sizeof(SpectSeq));
|
||||
@@ -271,6 +272,7 @@ void SpectSeqDestroy(SpectSeq *spect)
|
||||
free(spect->name);
|
||||
free(spect);
|
||||
}
|
||||
#pragma GCC visibility pop
|
||||
|
||||
static float GetFrameLength(SpectSeq *spect, int frame)
|
||||
{
|
||||
@@ -287,6 +289,7 @@ static float GetFrameLength(SpectSeq *spect, int frame)
|
||||
return (spect->frames[ix]->time - spect->frames[frame]->time) * 1000.0 + adjust;
|
||||
}
|
||||
|
||||
#pragma GCC visibility push(default)
|
||||
espeak_ng_STATUS LoadSpectSeq(SpectSeq *spect, const char *filename)
|
||||
{
|
||||
short n, temp;
|
||||
@@ -404,3 +407,4 @@ espeak_ng_STATUS LoadSpectSeq(SpectSeq *spect, const char *filename)
|
||||
fclose(stream);
|
||||
return ENS_OK;
|
||||
}
|
||||
#pragma GCC visibility pop
|
||||
|
||||
Reference in New Issue
Block a user