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 - 2012 Christian Schoenebeck * |
* Copyright (C) 2005 - 2013 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 * |
338 |
* Helper function for MIDI input devices that have the |
* Helper function for MIDI input devices that have the |
339 |
* MIDI data as raw bytes. |
* MIDI data as raw bytes. |
340 |
* |
* |
341 |
* @param pData - pointer to the raw MIDI data |
* @param pData - pointer to the raw MIDI data |
342 |
*/ |
*/ |
343 |
void DispatchRaw(uint8_t* pData); |
void DispatchRaw(uint8_t* pData); |
344 |
|
|
367 |
SynchronizedConfig<std::vector<uint8_t> > noteOnVelocityFilter; |
SynchronizedConfig<std::vector<uint8_t> > noteOnVelocityFilter; |
368 |
SynchronizedConfig<std::vector<uint8_t> >::Reader noteOnVelocityFilterReader; |
SynchronizedConfig<std::vector<uint8_t> >::Reader noteOnVelocityFilterReader; |
369 |
Mutex noteOnVelocityFilterMutex; |
Mutex noteOnVelocityFilterMutex; |
370 |
|
uint8_t runningStatusBuf[3]; |
371 |
|
|
372 |
/** |
/** |
373 |
* Constructor |
* Constructor |
381 |
|
|
382 |
friend class MidiInputDevice; |
friend class MidiInputDevice; |
383 |
|
|
384 |
private: |
private: |
385 |
static SynchronizedConfig<std::set<Engine*> > SysexListeners; ///< All engines that are listening to sysex messages. |
static SynchronizedConfig<std::set<Engine*> > SysexListeners; ///< All engines that are listening to sysex messages. |
386 |
|
|
387 |
|
uint8_t* handleRunningStatus(uint8_t* pData); |
388 |
}; |
}; |
389 |
|
|
390 |
} // namsepace LinuxSampler |
} // namsepace LinuxSampler |