* fix bug that extended loop variable beyond array limit
pull/1/head
David Freese 2015-04-23 20:43:39 -05:00
rodzic b5aa6a3e06
commit 2bda963bbe
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -203,7 +203,7 @@ int anal::rx_process(const double *buf, int len)
dspcnt -= (1.0 * n / samplerate);
if (dspcnt <= 0) {
for (int i = 0; i < PIPE_LEN; i++)
for (int i = 0; i < PIPE_LEN -1; i++)
pipe[i] = pipe[i+1];
double fdsp = fout / 4.0;