Fix out of bound array indexing

730d36f350 introduced introduced some code that indexes AudioFrame[3],
it is however defined as AudioFrame[3]. This increases the size to [4]
This commit is contained in:
Hein-Pieter van Braam 2017-09-13 17:38:09 +02:00
parent 4140e5261c
commit a3f9fe52ec
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ private:
AudioFilterSW filter;
AudioFilterSW::Processor filter_process[6];
AudioFrame vol[3];
AudioFrame vol[4];
float filter_gain;
float pitch_scale;
int bus_index;