fix logical-op-parentheses

This commit is contained in:
Robin Gareus 2015-02-22 23:38:42 +01:00
parent e070701f14
commit 9359a157fa
1 changed files with 2 additions and 2 deletions

View File

@ -305,8 +305,8 @@ bool CAAudioUnit::CanDo ( int inChannelsIn,
// is expected to deal with same channel valance in and out
if (result)
{
if (Comp().Desc().IsEffect() && (inChannelsIn == inChannelsOut)
|| Comp().Desc().IsOffline() && (inChannelsIn == inChannelsOut))
if ((Comp().Desc().IsEffect() && (inChannelsIn == inChannelsOut))
|| (Comp().Desc().IsOffline() && (inChannelsIn == inChannelsOut)))
{
return true;
}