summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
committerDavid Robillard <d@drobilla.net>2008-10-12 00:23:16 +0000
commit57698964f1e88b2b74a0ce31ffaba3044d884dac (patch)
treeaa9ca938f024000b60fa9d49be490b2446a5a789 /src/engine/events
parentfa9837f95a2d3be3f5eb94fcbf8222bb208d87db (diff)
downloadingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.gz
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.tar.bz2
ingen-57698964f1e88b2b74a0ce31ffaba3044d884dac.zip
Eliminate redundant ingen ontology parts, and save ingen Patchage in an LV2 compatible format.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1651 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/CreatePortEvent.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/events/CreatePortEvent.cpp b/src/engine/events/CreatePortEvent.cpp
index e767f522..30b019e9 100644
--- a/src/engine/events/CreatePortEvent.cpp
+++ b/src/engine/events/CreatePortEvent.cpp
@@ -110,10 +110,10 @@ CreatePortEvent::pre_process()
_engine.engine_store()->add(_patch_port);
if (!_patch->parent()) {
- if (_type == "ingen:AudioPort")
+ if (_type == "lv2:AudioPort")
_driver_port = _engine.audio_driver()->create_port(
dynamic_cast<DuplexPort*>(_patch_port));
- else if (_type == "ingen:MIDIPort" || _type == "ingen:EventPort")
+ else if (_type == "ingen:MIDIPort" || _type == "lv2ev:EventPort")
_driver_port = _engine.midi_driver()->create_port(
dynamic_cast<DuplexPort*>(_patch_port));
else if (_type == "ingen:OSCPort" && _engine.osc_driver())
@@ -143,9 +143,9 @@ CreatePortEvent::execute(ProcessContext& context)
}
if (_driver_port) {
- if (_type == "ingen:AudioPort")
+ if (_type == "lv2:AudioPort")
_engine.audio_driver()->add_port(_driver_port);
- else if (_type == "ingen:MIDIPort" || _type == "ingen:EventPort")
+ else if (_type == "ingen:MIDIPort" || _type == "lv2ev:EventPort")
_engine.midi_driver()->add_port(_driver_port);
else if (_type == "ingen:OSCPort")
cerr << "OSC DRIVER PORT" << endl;