1 |
/* |
/* |
2 |
Copyright (C) 2008 - 2009 Christian Schoenebeck |
Copyright (C) 2008 - 2012 Christian Schoenebeck |
3 |
*/ |
*/ |
4 |
|
|
5 |
#ifndef LS_VIRTUALMIDIDEVICE_H |
#ifndef LS_VIRTUALMIDIDEVICE_H |
169 |
* @returns true on success, false if no event pending |
* @returns true on success, false if no event pending |
170 |
*/ |
*/ |
171 |
bool GetMidiEventFromDevice(event_t& Event); |
bool GetMidiEventFromDevice(event_t& Event); |
172 |
|
|
173 |
|
///////////////////////////////////////////////////////////////// |
174 |
|
// General Purpose Methods |
175 |
|
|
176 |
|
/** |
177 |
|
* Adjusts the internal event buffer to cover at least the given |
178 |
|
* amount of MIDI events. This might be useful, since the internal |
179 |
|
* event buffer is by default quite small (i.e. just 12 events). |
180 |
|
* |
181 |
|
* This method is not thread safe! Any operations upon this device |
182 |
|
* have to be stopped before calling this method! |
183 |
|
*/ |
184 |
|
void SetMaxEvents(int n); |
185 |
|
|
186 |
/** |
/** |
187 |
* Constructor |
* Constructor |