67 |
pInstruments->HandBackDimReg(dimreg); |
pInstruments->HandBackDimReg(dimreg); |
68 |
} |
} |
69 |
DeleteDimregQueue->init(); |
DeleteDimregQueue->init(); |
70 |
ActiveStreamCount = 0; |
SetActiveStreamCount(0); |
71 |
ActiveStreamCountMax = 0; |
ActiveStreamCountMax = 0; |
72 |
if (running) this->StartThread(); // start thread only if it was running before |
if (running) this->StartThread(); // start thread only if it was running before |
73 |
} |
} |
329 |
for (int i = Streams - 1; i >= 0; i--) { |
for (int i = Streams - 1; i >= 0; i--) { |
330 |
if (pStreams[i]->GetState() != Stream::state_unused) streamsInUsage++; |
if (pStreams[i]->GetState() != Stream::state_unused) streamsInUsage++; |
331 |
} |
} |
332 |
ActiveStreamCount = streamsInUsage; |
SetActiveStreamCount(streamsInUsage); |
333 |
if (streamsInUsage > ActiveStreamCountMax) ActiveStreamCountMax = streamsInUsage; |
if (streamsInUsage > ActiveStreamCountMax) ActiveStreamCountMax = streamsInUsage; |
334 |
} |
} |
335 |
|
|