| 28 | #include "ModularSynth.h" |
| 29 | |
| 30 | void NoteOutputQueue::QueuePlayNote(NoteOutput* target, double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 31 | { |
| 32 | PendingNoteOutput output; |
| 33 | output.target = target; |
| 34 | output.time = time; |
| 35 | output.pitch = pitch; |
| 36 | output.velocity = velocity; |
| 37 | output.voiceIdx = voiceIdx; |
| 38 | output.modulation = modulation; |
| 39 | mQueue.enqueue(output); |
| 40 | } |
| 41 | |
| 42 | void NoteOutputQueue::QueueFlush(NoteOutput* target, double time) |
| 43 | { |