Skip to content

Commit a56e1e0

Browse files
committed
use CheckRate in every binop func
1 parent db9f6bf commit a56e1e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

binop.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ func BinOpAdd(rate int8, x, y Input, numOutputs int) *UgenNode {
2020

2121
// MulAdd creates a MulAdd ugen.
2222
func MulAdd(rate int8, in, mul, add Input, numOutputs int) *UgenNode {
23+
CheckRate(rate)
2324
return NewUgenNode("MulAdd", rate, 0, numOutputs, in, mul, add)
2425
}
2526

0 commit comments

Comments
 (0)