fix a deafen issue
This commit is contained in:
parent
97a1f901b4
commit
a2ffa6b706
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user