/[svn]/linuxsampler/trunk/src/engines/gig/DiskThread.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/DiskThread.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1788 by nagata, Fri Jan 25 15:06:02 2008 UTC revision 1789 by iliev, Sat Nov 1 19:01:27 2008 UTC
# Line 67  namespace LinuxSampler { namespace gig { Line 67  namespace LinuxSampler { namespace gig {
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      }      }
# Line 329  namespace LinuxSampler { namespace gig { Line 329  namespace LinuxSampler { namespace gig {
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    

Legend:
Removed from v.1788  
changed lines
  Added in v.1789

  ViewVC Help
Powered by ViewVC