spatialaudio: fix flush when blocks have different length
commit5e8c3cf6e1cf3521bb99db70654974df9fa2ed8f
authorThomas Guillem <thomas@gllm.fr>
Tue, 13 Mar 2018 14:09:23 +0000 (13 15:09 +0100)
committerThomas Guillem <thomas@gllm.fr>
Tue, 13 Mar 2018 14:12:57 +0000 (13 15:12 +0100)
tree8396e42dc7755fcef7d562f9550cb69c1add9ca1
parent5fa063f2bfd8f6e80470e015041df3b61724d3d6
spatialaudio: fix flush when blocks have different length

The calculation was wrong, we should compare the length of the previous block.

Regression from 1f246d2604822174812a2cab63111d95ad6ea27a
modules/audio_filter/channel_mixer/spatialaudio.cpp