mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:32:11 +00:00
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:
parent
4140e5261c
commit
a3f9fe52ec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user