Ariver
2026-06-28 fc6d61e41b1b0e0686d1346694445dc119b97872
privatevoice.src/app.go
@@ -28,8 +28,8 @@
)
const (
   appVersion        = "2.1.35"
   appBuild          = "20260623.1435"
   appVersion        = "2.1.36"
   appBuild          = "20260628.2354"
   appDisplayVersion = appVersion + " (build " + appBuild + ")"
   appName           = "PrivateVoice Dictation"
@@ -37,6 +37,7 @@
   silenceTimeoutDuration   = 3 * time.Second // auto-stop after this much silence in free-talk
   silenceGracePeriod       = 2 * time.Second // don't auto-stop within first 2s of free-talk
   holdActivationDelay      = 180 * time.Millisecond
   defaultReleaseTailDelay  = 300 * time.Millisecond
   doneIndicatorHideDelayMs = 250
   liveCaptionInterval      = 120 * time.Millisecond
   liveCaptionMaxBytes      = 108
@@ -985,9 +986,12 @@
}
func releaseTailCaptureDelayForEngine(eng engine.Engine) time.Duration {
   if eng == nil {
      return 0
   }
   tailCaptureEng, ok := eng.(engine.ReleaseTailCaptureEngine)
   if !ok {
      return 0
      return defaultReleaseTailDelay
   }
   delay := tailCaptureEng.ReleaseTailCaptureDelay()
   if delay < 0 {
@@ -997,9 +1001,12 @@
}
func holdPreCaptureEnabledForEngine(eng engine.Engine) bool {
   if eng == nil {
      return false
   }
   preCaptureEng, ok := eng.(engine.HoldPreCaptureEngine)
   if !ok {
      return false
      return true
   }
   return preCaptureEng.HoldPreCaptureEnabled()
}