/[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 828 by schoenebeck, Mon Sep 26 10:17:00 2005 UTC revision 829 by schoenebeck, Sat Jan 14 14:07:47 2006 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 Christian Schoenebeck                              *   *   Copyright (C) 2005, 2006 Christian Schoenebeck                        *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 48  namespace LinuxSampler { namespace gig { Line 48  namespace LinuxSampler { namespace gig {
48          pMidiInputPort = NULL;          pMidiInputPort = NULL;
49          midiChannel = midi_chan_all;          midiChannel = midi_chan_all;
50          ResetControllers();          ResetControllers();
51            SoloMode       = false;
52            PortamentoMode = false;
53            PortamentoTime = CONFIG_PORTAMENTO_TIME_DEFAULT;
54      }      }
55    
56      EngineChannel::~EngineChannel() {      EngineChannel::~EngineChannel() {
# Line 108  namespace LinuxSampler { namespace gig { Line 111  namespace LinuxSampler { namespace gig {
111              pMIDIKeyInfo[i].itSelf         = Pool<uint>::Iterator();              pMIDIKeyInfo[i].itSelf         = Pool<uint>::Iterator();
112              pMIDIKeyInfo[i].VoiceTheftsQueued = 0;              pMIDIKeyInfo[i].VoiceTheftsQueued = 0;
113          }          }
114            SoloKey       = -1;    // no solo key active yet
115            PortamentoPos = -1.0f; // no portamento active yet
116    
117          // reset all key groups          // reset all key groups
118          std::map<uint,uint*>::iterator iter = ActiveKeyGroups.begin();          std::map<uint,uint*>::iterator iter = ActiveKeyGroups.begin();

Legend:
Removed from v.828  
changed lines
  Added in v.829

  ViewVC Help
Powered by ViewVC