mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
Fixed a bug in AudioChannelSet::getChannelTypeFromAbbreviation() for non-typed ChannelTypes
This commit is contained in:
parent
083078034a
commit
9d6b393aa9
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ AudioChannelSet::ChannelType AudioChannelSet::getChannelTypeFromAbbreviation (co
|
|||
{
|
||||
if (abbr.length() > 0 && (abbr[0] >= '0' && abbr[0] <= '9'))
|
||||
return static_cast<AudioChannelSet::ChannelType> (static_cast<int> (discreteChannel0)
|
||||
+ abbr.getIntValue() + 1);
|
||||
+ abbr.getIntValue() - 1);
|
||||
|
||||
if (abbr == "L") return left;
|
||||
if (abbr == "R") return right;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue