/[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 1347 by schoenebeck, Tue Sep 4 01:12:49 2007 UTC revision 1348 by schoenebeck, Fri Sep 14 14:45:11 2007 UTC
# Line 778  namespace LinuxSampler { namespace gig { Line 778  namespace LinuxSampler { namespace gig {
778                  }                  }
779              }              }
780          }          }
781            
782          pEngineChannel->SetVoiceCount(voiceCount);          pEngineChannel->SetVoiceCount(voiceCount);
783          pEngineChannel->SetDiskStreamCount(streamCount);          pEngineChannel->SetDiskStreamCount(streamCount);
784      }      }
# Line 1686  namespace LinuxSampler { namespace gig { Line 1686  namespace LinuxSampler { namespace gig {
1686                  break;                  break;
1687              }              }
1688              case 65: { // portamento on / off              case 65: { // portamento on / off
1689                  KillAllVoices(pEngineChannel, itControlChangeEvent);                  const bool bPortamento = itControlChangeEvent->Param.CC.Value >= 64;
1690                  pEngineChannel->PortamentoMode = itControlChangeEvent->Param.CC.Value >= 64;                  if (bPortamento != pEngineChannel->PortamentoMode)
1691                        KillAllVoices(pEngineChannel, itControlChangeEvent);
1692                    pEngineChannel->PortamentoMode = bPortamento;
1693                  break;                  break;
1694              }              }
1695              case 66: { // sostenuto              case 66: { // sostenuto
# Line 1757  namespace LinuxSampler { namespace gig { Line 1759  namespace LinuxSampler { namespace gig {
1759                  break;                  break;
1760              }              }
1761              case 126: { // mono mode on              case 126: { // mono mode on
1762                  KillAllVoices(pEngineChannel, itControlChangeEvent);                  if (!pEngineChannel->SoloMode)
1763                        KillAllVoices(pEngineChannel, itControlChangeEvent);
1764                  pEngineChannel->SoloMode = true;                  pEngineChannel->SoloMode = true;
1765                  break;                  break;
1766              }              }
1767              case 127: { // poly mode on              case 127: { // poly mode on
1768                  KillAllVoices(pEngineChannel, itControlChangeEvent);                  if (pEngineChannel->SoloMode)
1769                        KillAllVoices(pEngineChannel, itControlChangeEvent);
1770                  pEngineChannel->SoloMode = false;                  pEngineChannel->SoloMode = false;
1771                  break;                  break;
1772              }              }
# Line 1971  namespace LinuxSampler { namespace gig { Line 1975  namespace LinuxSampler { namespace gig {
1975      }      }
1976    
1977      String Engine::Version() {      String Engine::Version() {
1978          String s = "$Revision: 1.80 $";          String s = "$Revision: 1.81 $";
1979          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
1980      }      }
1981    

Legend:
Removed from v.1347  
changed lines
  Added in v.1348

  ViewVC Help
Powered by ViewVC