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-2009 Christian Schoenebeck * |
* Copyright (C) 2005-2008 Christian Schoenebeck * |
7 |
* Copyright (C) 2009 Grigor Iliev * |
* Copyright (C) 2009-2010 Christian Schoenebeck and Grigor Iliev * |
8 |
* * |
* * |
9 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
10 |
* 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 * |
23 |
***************************************************************************/ |
***************************************************************************/ |
24 |
|
|
25 |
#ifndef __LS_ABSTRACTENGINECHANNEL_H__ |
#ifndef __LS_ABSTRACTENGINECHANNEL_H__ |
26 |
#define __LS_ABSTRACTENGINECHANNEL_H__ |
#define __LS_ABSTRACTENGINECHANNEL_H__ |
27 |
|
|
28 |
#include "EngineChannel.h" |
#include "EngineChannel.h" |
29 |
#include "AbstractEngine.h" |
#include "AbstractEngine.h" |
120 |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_AudioThread; |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_AudioThread; |
121 |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_MidiThread; |
SynchronizedConfig< ArrayList<VirtualMidiDevice*> >::Reader virtualMidiDevicesReader_MidiThread; |
122 |
|
|
123 |
|
std::map<uint,RTList<Event>*> ActiveKeyGroups; ///< Contains event queues for key groups, ordered by key group ID. |
124 |
|
|
125 |
virtual void ResetControllers(); |
virtual void ResetControllers(); |
126 |
virtual void ResetInternal(); |
virtual void ResetInternal(); |
127 |
virtual void RemoveAllFxSends(); |
virtual void RemoveAllFxSends(); |
128 |
|
|
129 |
void ImportEvents(uint Samples); |
void ImportEvents(uint Samples); |
130 |
|
|
131 |
|
void AddGroup(uint group); |
132 |
|
void HandleKeyGroupConflicts(uint KeyGroup, Pool<Event>::Iterator& itNoteOnEvent); |
133 |
|
void ClearGroupEventLists(); |
134 |
|
void DeleteGroupEventLists(); |
135 |
}; |
}; |
136 |
|
|
137 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
138 |
|
|
139 |
#endif /* __LS_ABSTRACTENGINECHANNEL_H__ */ |
#endif /* __LS_ABSTRACTENGINECHANNEL_H__ */ |
140 |
|
|