diff options
author | David Robillard <d@drobilla.net> | 2014-04-06 06:14:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-04-06 06:14:04 +0000 |
commit | d1678ff80fe301569215904fcd886f257136b062 (patch) | |
tree | 114aecfbd5a9697d76ccd3941103004b5722534a /src/AlsaDriver.cpp | |
parent | 96442dec20443f41ba75e599fe89eb5dd338919a (diff) | |
download | patchage-d1678ff80fe301569215904fcd886f257136b062.tar.gz patchage-d1678ff80fe301569215904fcd886f257136b062.tar.bz2 patchage-d1678ff80fe301569215904fcd886f257136b062.zip |
Support port pretty names via new Jack metadata API.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index 78a0a16..26ae553 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -311,8 +311,9 @@ AlsaDriver::create_port(PatchageModule& parent, const string& name, bool is_input, snd_seq_addr_t addr) { PatchagePort* ret = new PatchagePort( - parent, ALSA_MIDI, name, is_input, - _app->conf()->get_port_color(ALSA_MIDI)); + parent, ALSA_MIDI, name, "", is_input, + _app->conf()->get_port_color(ALSA_MIDI), + _app->show_human_names()); dynamic_cast<PatchageCanvas*>(parent.canvas())->index_port( PortID(addr, is_input), ret); |