mirror of
https://github.com/brmlab/ledbar.git
synced 2025-06-09 21:34:00 +02:00
equalizer: Some old change I don't understand now
This commit is contained in:
parent
2c617c29dc
commit
987e4c8182
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ def loop( stream ):
|
|||
nexttrig = nowtrig
|
||||
if len(data) == 0: break
|
||||
indata = np.array(struct.unpack('%dh'%CHUNK_SIZE,data))
|
||||
history.append(indata)
|
||||
history.append(-indata)
|
||||
if len(history) > HISTORY_SIZE: history.pop(0)
|
||||
elif len(history) < HISTORY_SIZE: continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue