diff options
author | David Robillard <d@drobilla.net> | 2007-10-09 21:04:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-09 21:04:06 +0000 |
commit | 670bf40134c1aa7c1ff175ff8acd9dbed7b9ab41 (patch) | |
tree | c8c70aaa14327edd0a2ee92eb25f00d9cfebda11 /src/libs/engine/events | |
parent | d225ac9f9252b0ae07cd594bc5cb9b440fac311f (diff) | |
download | ingen-670bf40134c1aa7c1ff175ff8acd9dbed7b9ab41.tar.gz ingen-670bf40134c1aa7c1ff175ff8acd9dbed7b9ab41.tar.bz2 ingen-670bf40134c1aa7c1ff175ff8acd9dbed7b9ab41.zip |
Fix port type URIs mismatching, fixes Jack ports not showing up.
git-svn-id: http://svn.drobilla.net/lad/ingen@864 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/events')
-rw-r--r-- | src/libs/engine/events/CreatePortEvent.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libs/engine/events/CreatePortEvent.cpp b/src/libs/engine/events/CreatePortEvent.cpp index 27dcf7bc..3cdda4d1 100644 --- a/src/libs/engine/events/CreatePortEvent.cpp +++ b/src/libs/engine/events/CreatePortEvent.cpp @@ -110,13 +110,13 @@ CreatePortEvent::pre_process() _engine.object_store()->add(_patch_port); if (!_patch->parent()) { - if (_type == "ingen:audio") + if (_type == "ingen:AudioPort") _driver_port = _engine.audio_driver()->create_port( dynamic_cast<DuplexPort*>(_patch_port)); - else if (_type == "ingen:midi") + else if (_type == "ingen:MIDIPort") _driver_port = _engine.midi_driver()->create_port( dynamic_cast<DuplexPort*>(_patch_port)); - else if (_type == "ingen:osc" && _engine.osc_driver()) + else if (_type == "ingen:OSCPort" && _engine.osc_driver()) _driver_port = _engine.osc_driver()->create_port( dynamic_cast<DuplexPort*>(_patch_port)); } @@ -143,11 +143,11 @@ CreatePortEvent::execute(ProcessContext& context) } if (_driver_port) - if (_type == "ingen:audio") + if (_type == "ingen:AudioPort") _engine.audio_driver()->add_port(_driver_port); - else if (_type == "ingen:midi") + else if (_type == "ingen:MIDIPort") _engine.midi_driver()->add_port(_driver_port); - else if (_type == "ingen:osc") + else if (_type == "ingen:OSCPort") cerr << "OSC DRIVER PORT" << endl; if (_source) |