1
0
forked from cgvr/DeltaVR

added 'END PLAYBACK' to removing strings

This commit is contained in:
2026-03-17 10:36:12 +02:00
parent b40b075540
commit 398f22efdd
4 changed files with 25 additions and 9 deletions

View File

@@ -369,7 +369,7 @@ public class FMODWhisperBridge : MonoBehaviour
private string PostProcessInput(string input)
{
return input.Replace("[silence]", "").Replace("[ Silence ]", "").Replace("BLANK_AUDIO", "").Replace("[", "").Replace("]", "").Trim();
return input.Replace("[silence]", "").Replace("[ Silence ]", "").Replace("BLANK_AUDIO", "").Replace("[", "").Replace("]", "").Replace("END PLAYBACK", "").Trim();
}
private void FeedSilentChunk(uint byteLen)