fix a deafen issue

This commit is contained in:
aoife cassidy 2025-11-01 21:28:14 +01:00
parent 97a1f901b4
commit a2ffa6b706
No known key found for this signature in database
GPG Key ID: 7184AC1C9835CE48

View File

@ -83,6 +83,8 @@ func (au *Audio) ProcessInput(conn *ircevent.Connection, channel string) error {
if _, err = dec.DecodeFloat32(raw, out); err != nil { if _, err = dec.DecodeFloat32(raw, out); err != nil {
break break
} }
} else {
copy(out, empty)
} }
default: default:
copy(out, empty) copy(out, empty)