mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Fixed a harmless compiler warning on MSVC in previous commit
This commit is contained in:
parent
f0792827a4
commit
a47dfc5969
1 changed files with 2 additions and 2 deletions
|
|
@ -190,8 +190,8 @@ static inline Steinberg::Vst::Speaker getSpeakerType (const AudioChannelSet& set
|
|||
break;
|
||||
}
|
||||
|
||||
auto channelIndex = static_cast<int> (type) - (static_cast<int> (AudioChannelSet::discreteChannel0) + 6);
|
||||
return (1 << (channelIndex + 33 /* last speaker in vst layout + 1 */));
|
||||
auto channelIndex = static_cast<Steinberg::Vst::Speaker> (type) - (static_cast<Steinberg::Vst::Speaker> (AudioChannelSet::discreteChannel0) + 6ull);
|
||||
return (1ull << (channelIndex + 33ull /* last speaker in vst layout + 1 */));
|
||||
}
|
||||
|
||||
static inline AudioChannelSet::ChannelType getChannelType (Steinberg::Vst::SpeakerArrangement arr, Steinberg::Vst::Speaker type) noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue