Skip to content

Commit

Permalink
Fixed bug when maximum number of plug-in io channels is one
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoole committed Jan 18, 2017
1 parent a08cedb commit 0464728
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ bool AudioProcessor::Bus::enable (bool shouldEnable)

int AudioProcessor::Bus::getMaxSupportedChannels (int limit) const
{
for (int ch = limit; ch > 1; --ch)
for (int ch = limit; ch > 0; --ch)
if (isNumberOfChannelsSupported (ch))
return ch;

Expand Down

0 comments on commit 0464728

Please sign in to comment.