chore(deps): update Go to 1.26, bump purego, fix lint warning (#15)

- Updated Go version from 1.24.0 to 1.26.0
- Bumped ebitengine/purego v0.9.1 -> v0.10.0
- Removed dead code in SynthesisOptions.Clamp() (staticcheck S1002)
This commit is contained in:
2026-03-04 04:45:43 -05:00
committed by GitHub
parent 7e25beb0a7
commit ae5a1f2218
3 changed files with 6 additions and 7 deletions

View File

@@ -40,9 +40,8 @@ func (so *SynthesisOptions) Clamp() {
if so.Style > 1 || so.Style < 0 {
so.Style = 0.0
}
if so.UseSpeakerBoost != true && so.UseSpeakerBoost != false {
so.UseSpeakerBoost = true
}
// UseSpeakerBoost defaults to the zero value (false) for bool;
// no conditional needed as the caller sets it explicitly.
}
type SynthesisOptions struct {