Add start offset settings.

This commit is contained in:
2023-03-30 10:37:59 +08:00
parent 578e10bbd7
commit 06d9df304e
2 changed files with 2 additions and 2 deletions

View File

@@ -483,8 +483,9 @@ namespace Cryville.Crtr {
Game.MainLogger.Enumerate((level, module, msg) => { });
logs.text = "";
}
Game.AudioSequencer.SeekTime(startOffset, SeekOrigin.Current);
Game.AudioSequencer.Playing = true;
atime0 = Game.AudioClient.BufferPosition;
atime0 = Game.AudioClient.BufferPosition - startOffset;
inputProxy.SyncTime(cbus.Time);
started = true;
}

View File

@@ -164,7 +164,6 @@ namespace Cryville.Crtr {
}
}
[Browsable(false)]
[Category("debug")]
[Range(0, float.PositiveInfinity)][Step(10f)][Precision(1e-1)]
public float StartOffset {