|
|
@@ -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; |
|
|
|
} |
|
|
|
|
|
|
|