summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/JackMidiDriver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-30 17:36:38 +0000
committerDavid Robillard <d@drobilla.net>2007-09-30 17:36:38 +0000
commitc40ddfc0eebbcb3333d6cc9e3df7fb62ecb45941 (patch)
tree6e73d5d43284335031cee32f9225b698f315a59d /src/libs/engine/JackMidiDriver.hpp
parent829075dff9fe5d0b3f243f9e40256563a5f8e09a (diff)
downloadingen-c40ddfc0eebbcb3333d6cc9e3df7fb62ecb45941.tar.gz
ingen-c40ddfc0eebbcb3333d6cc9e3df7fb62ecb45941.tar.bz2
ingen-c40ddfc0eebbcb3333d6cc9e3df7fb62ecb45941.zip
Better driver interface for input/output.
MIDI output (pass-through anyway, plugin->output is still screwy). Fix crash on failure to instantiate LV2 plugin. git-svn-id: http://svn.drobilla.net/lad/ingen@786 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackMidiDriver.hpp')
-rw-r--r--src/libs/engine/JackMidiDriver.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libs/engine/JackMidiDriver.hpp b/src/libs/engine/JackMidiDriver.hpp
index c546fbec..21e1f3ec 100644
--- a/src/libs/engine/JackMidiDriver.hpp
+++ b/src/libs/engine/JackMidiDriver.hpp
@@ -42,7 +42,8 @@ public:
JackMidiPort(JackMidiDriver* driver, DuplexPort* port);
virtual ~JackMidiPort();
- void prepare_block(const SampleCount block_start, const SampleCount block_end);
+ void pre_process(SampleCount block_start, SampleCount block_end);
+ void post_process(SampleCount block_start, SampleCount block_end);
void set_name(const std::string& name) { jack_port_set_name(_jack_port, name.c_str()); };
@@ -76,7 +77,8 @@ public:
bool is_activated() const { return _is_activated; }
bool is_enabled() const { return _is_enabled; }
- void prepare_block(const SampleCount block_start, const SampleCount block_end);
+ void pre_process(ProcessContext& context, SampleCount nframes, FrameTime start, FrameTime end);
+ void post_process(ProcessContext& context, SampleCount nframes, FrameTime start, FrameTime end);
JackMidiPort* create_port(DuplexPort* patch_port)
{ return new JackMidiPort(this, patch_port); }