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

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

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

revision 465 by schoenebeck, Mon Mar 14 22:35:44 2005 UTC revision 466 by schoenebeck, Tue Mar 15 19:27:01 2005 UTC
# Line 361  namespace LinuxSampler { namespace gig { Line 361  namespace LinuxSampler { namespace gig {
361          ActiveVoiceCountTemp = 0;          ActiveVoiceCountTemp = 0;
362    
363    
364          // render audio on all engine channels          // handle events on all engine channels
365          for (int i = 0; i < engineChannels.size(); i++) {          for (int i = 0; i < engineChannels.size(); i++) {
366              if (!engineChannels[i]->pInstrument) continue; // ignore if no instrument loaded              if (!engineChannels[i]->pInstrument) continue; // ignore if no instrument loaded
             // handle events on that engine channel  
367              ProcessEvents(engineChannels[i], Samples);              ProcessEvents(engineChannels[i], Samples);
368              // render all 'normal', active voices          }
369    
370            // render all 'normal', active voices on all engine channels
371            for (int i = 0; i < engineChannels.size(); i++) {
372                if (!engineChannels[i]->pInstrument) continue; // ignore if no instrument loaded
373              RenderActiveVoices(engineChannels[i], Samples);              RenderActiveVoices(engineChannels[i], Samples);
374          }          }
375    
# Line 1051  namespace LinuxSampler { namespace gig { Line 1054  namespace LinuxSampler { namespace gig {
1054      }      }
1055    
1056      String Engine::Version() {      String Engine::Version() {
1057          String s = "$Revision: 1.31 $";          String s = "$Revision: 1.32 $";
1058          return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword          return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword
1059      }      }
1060    

Legend:
Removed from v.465  
changed lines
  Added in v.466

  ViewVC Help
Powered by ViewVC