mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 01:11:22 +08:00
c, python : add option to query encode size
This commit is contained in:
@@ -3,9 +3,9 @@ import ggwave
|
||||
|
||||
testFailed = False
|
||||
|
||||
n, samples = ggwave.encode("hello python")
|
||||
samples = ggwave.encode("hello python")
|
||||
|
||||
if not (samples and n > 1024):
|
||||
if not (samples):
|
||||
testFailed = True
|
||||
|
||||
if testFailed:
|
||||
|
||||
Reference in New Issue
Block a user