mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
espeakedit: move the definition of SpectFrame::GetRms out of the class
This commit is contained in:
+1
-1
@@ -1623,7 +1623,7 @@ int LoadSpect(const char *path, int control)
|
||||
|
||||
fr_out->frflags = fr->markers | klatt_flag;
|
||||
|
||||
rms = int(fr->GetRms(spectseq->amplitude));
|
||||
rms = int(GetFrameRms(fr, spectseq->amplitude));
|
||||
if(rms > 255) rms = 255;
|
||||
fr_out->rms = rms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user