mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
VST2: Fixed a VS2013 compiler error
This commit is contained in:
parent
940ff3ee6e
commit
44f17f5061
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ struct SpeakerMappings : private AudioChannelSet // (inheritance only to give e
|
|||
|
||||
VstSpeakerConfiguration* allocate (int numChannels)
|
||||
{
|
||||
auto arrangementSize = (sizeof (VstSpeakerConfiguration) - sizeof(VstSpeakerConfiguration::speakers))
|
||||
auto arrangementSize = (sizeof (VstSpeakerConfiguration) - (sizeof(VstIndividualSpeakerInfo) * 8))
|
||||
+ (sizeof (VstIndividualSpeakerInfo) * static_cast<size_t> (numChannels));
|
||||
|
||||
storage.malloc (1, arrangementSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue