correct sample counter in generateTable function

This commit is contained in:
Dima Pulkinen 2024-11-10 19:08:41 +02:00
parent 949429d461
commit 5be02b5585

View File

@ -795,7 +795,7 @@ function sfxr.Sound:generateTable(rate, depth, tab)
t[i] = v
i = i + 1
end
return t, i
return t, i - 1
end
--- Generate the sound to a binary string.