update default parameters + python updates

- by default ggwave will now output 32-bit float samples
- python samples no longer use numpy
- python test now decodes payload
- fix buffer overflow in receive.py example
This commit is contained in:
Georgi Gerganov
2021-01-23 23:30:24 +02:00
parent ba8e0cd2b1
commit 105e0fd48d
7 changed files with 19 additions and 14 deletions

View File

@@ -10,7 +10,7 @@ instance = ggwave.init()
try:
while True:
data = stream.read(1024)
data = stream.read(1024, exception_on_overflow=False)
res = ggwave.decode(instance, data)
if (not res is None):
try: