You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +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:
@@ -40,7 +40,7 @@ private:
|
|||||||
|
|
||||||
AudioFilterSW filter;
|
AudioFilterSW filter;
|
||||||
AudioFilterSW::Processor filter_process[6];
|
AudioFilterSW::Processor filter_process[6];
|
||||||
AudioFrame vol[3];
|
AudioFrame vol[4];
|
||||||
float filter_gain;
|
float filter_gain;
|
||||||
float pitch_scale;
|
float pitch_scale;
|
||||||
int bus_index;
|
int bus_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user