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 * |
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() { |
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(); |