mirror of
https://github.com/taigrr/elevenlabs.git
synced 2026-04-02 03:08:57 -07:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user