diff options
author | David Robillard <d@drobilla.net> | 2007-04-19 14:59:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-19 14:59:47 +0000 |
commit | 71d83ce627f8d8ddfc381312155d1a05082618b2 (patch) | |
tree | 4a72651c9e91714e7359eff3f710ab1bd9fe8735 /src/libs/engine/DSSINode.h | |
parent | 7743f1b787692e6c6cc4a84f08d9ca1b39974917 (diff) | |
download | ingen-71d83ce627f8d8ddfc381312155d1a05082618b2.tar.gz ingen-71d83ce627f8d8ddfc381312155d1a05082618b2.tar.bz2 ingen-71d83ce627f8d8ddfc381312155d1a05082618b2.zip |
Applied patch from larsl to fix DSSI MIDI.
git-svn-id: http://svn.drobilla.net/lad/ingen@456 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/DSSINode.h')
-rw-r--r-- | src/libs/engine/DSSINode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libs/engine/DSSINode.h b/src/libs/engine/DSSINode.h index 9be7b761..ffe1a641 100644 --- a/src/libs/engine/DSSINode.h +++ b/src/libs/engine/DSSINode.h @@ -55,7 +55,9 @@ public: void program(int bank, int program); void process(SampleCount nframes, FrameTime start, FrameTime end); - + + void set_port_buffer(size_t voice, size_t port_num, Buffer* buf); + bool update_programs(bool send_events); void set_default_program(); const std::map<int, Bank>& get_programs() const; @@ -75,7 +77,7 @@ private: void send_quit(); // Conversion to ALSA MIDI events - void convert_events(); + void convert_events(SampleCount nframes); DSSI_Descriptor* _dssi_descriptor; @@ -91,6 +93,7 @@ private: std::map<int, Bank> _banks; InputPort* _midi_in_port; + MidiBuffer* _midi_in_buffer; snd_seq_event_t* _alsa_events; unsigned long _encoded_events; snd_midi_event_t* _alsa_encoder; |