Browse Source

Correct ProcessSlaves

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1304 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.60
sletz 18 years ago
parent
commit
c650232f5a
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      common/JackDriver.cpp

+ 4
- 4
common/JackDriver.cpp View File

@@ -193,14 +193,14 @@ void JackDriverClient::RemoveSlave(JackDriverInterface* slave)
}

int JackDriverClient::ProcessSlaves()
{
{
int res = 0;
list<JackDriverInterface*>::const_iterator it;
for (it = fSlaveList.begin(); it != fSlaveList.end(); it++) {
JackDriverInterface* slave = *it;
if ((res = slave->Process()) < 0)
return res;
}
if (slave->Process() < 0)
res = -1;
}
return res;
}



Loading…
Cancel
Save