equalizer: Some old change I don't understand now

This commit is contained in:
Petr Baudis 2013-12-30 17:49:08 +01:00
parent 2c617c29dc
commit 987e4c8182

View file

@ -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