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

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

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

revision 906 by schoenebeck, Sun Jul 23 16:44:08 2006 UTC revision 947 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC
# Line 176  namespace LinuxSampler { namespace gig { Line 176  namespace LinuxSampler { namespace gig {
176    
177          // request gig instrument from instrument manager          // request gig instrument from instrument manager
178          try {          try {
179              instrument_id_t instrid;              InstrumentManager::instrument_id_t instrid;
180              instrid.FileName    = InstrumentFile;              instrid.FileName  = InstrumentFile;
181              instrid.iInstrument = InstrumentIdx;              instrid.Index     = InstrumentIdx;
182              pInstrument = Engine::instruments.Borrow(instrid, this);              pInstrument = Engine::instruments.Borrow(instrid, this);
183              if (!pInstrument) {              if (!pInstrument) {
184                  InstrumentStat = -1;                  InstrumentStat = -1;
# Line 553  namespace LinuxSampler { namespace gig { Line 553  namespace LinuxSampler { namespace gig {
553          SustainPedal   = false;          SustainPedal   = false;
554          SostenutoPedal = false;          SostenutoPedal = false;
555          GlobalVolume   = CONFIG_GLOBAL_ATTENUATION;          GlobalVolume   = CONFIG_GLOBAL_ATTENUATION;
556            MidiVolume     = 1.0;
557          GlobalPanLeft  = 1.0f;          GlobalPanLeft  = 1.0f;
558          GlobalPanRight = 1.0f;          GlobalPanRight = 1.0f;
559          // set all MIDI controller values to zero          // set all MIDI controller values to zero

Legend:
Removed from v.906  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC