mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Fixed a bug in the AAX wrapper where the code would access uninitialised values in the known stem formats array when compiling with newer AAX SDK versions
This commit is contained in:
parent
e2a3733082
commit
938830e77f
1 changed files with 3 additions and 3 deletions
|
|
@ -148,7 +148,7 @@ namespace AAXClasses
|
|||
{AAX_eStemFormat_None, {AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown, AudioChannelSet::unknown}},
|
||||
};
|
||||
|
||||
static AAX_EStemFormat aaxFormats[AAX_eStemFormatNum] =
|
||||
static AAX_EStemFormat aaxFormats[] =
|
||||
{
|
||||
AAX_eStemFormat_Mono,
|
||||
AAX_eStemFormat_Stereo,
|
||||
|
|
@ -1895,8 +1895,8 @@ namespace AAXClasses
|
|||
#else
|
||||
Array<int32> pluginIds;
|
||||
|
||||
const int numIns = numInputBuses > 0 ? AAX_eStemFormatNum : 0;
|
||||
const int numOuts = numOutputBuses > 0 ? AAX_eStemFormatNum : 0;
|
||||
const int numIns = numInputBuses > 0 ? numElementsInArray (aaxFormats) : 0;
|
||||
const int numOuts = numOutputBuses > 0 ? numElementsInArray (aaxFormats) : 0;
|
||||
|
||||
for (int inIdx = 0; inIdx < jmax (numIns, 1); ++inIdx)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue