/[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 780 by iliev, Wed Sep 21 19:05:41 2005 UTC revision 781 by schoenebeck, Mon Sep 26 10:17:00 2005 UTC
# Line 1143  namespace LinuxSampler { namespace gig { Line 1143  namespace LinuxSampler { namespace gig {
1143          switch (itControlChangeEvent->Param.CC.Controller) {          switch (itControlChangeEvent->Param.CC.Controller) {
1144              case 7: { // volume              case 7: { // volume
1145                  //TODO: not sample accurate yet                  //TODO: not sample accurate yet
1146                  pEngineChannel->GlobalVolume = (float) itControlChangeEvent->Param.CC.Value / 127.0f;                  pEngineChannel->GlobalVolume = (float) itControlChangeEvent->Param.CC.Value / 127.0f *  CONFIG_GLOBAL_ATTENUATION;
1147                  pEngineChannel->bStatusChanged = true; // engine channel status has changed, so set notify flag                  pEngineChannel->bStatusChanged = true; // engine channel status has changed, so set notify flag
1148                  break;                  break;
1149              }              }
# Line 1452  namespace LinuxSampler { namespace gig { Line 1452  namespace LinuxSampler { namespace gig {
1452      }      }
1453    
1454      String Engine::Version() {      String Engine::Version() {
1455          String s = "$Revision: 1.55 $";          String s = "$Revision: 1.56 $";
1456          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
1457      }      }
1458    

Legend:
Removed from v.780  
changed lines
  Added in v.781

  ViewVC Help
Powered by ViewVC