projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a06e67
)
add a shadow port for the Push 2 port, to allow us to filter pads (note on/off) to...
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 20 Jun 2016 03:41:53 +0000
(23:41 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 27 Sep 2016 19:59:29 +0000
(14:59 -0500)
libs/surfaces/push2/push2.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/push2/push2.cc
b/libs/surfaces/push2/push2.cc
index 31734441843f139342b04a2c5ddf34f3dfe03f66..d1bf24f87bcc2447c76224344193c30f353b8e81 100644
(file)
--- a/
libs/surfaces/push2/push2.cc
+++ b/
libs/surfaces/push2/push2.cc
@@
-145,6
+145,8
@@
Push2::open ()
_input_port = boost::dynamic_pointer_cast<AsyncMIDIPort>(_async_in).get();
_output_port = boost::dynamic_pointer_cast<AsyncMIDIPort>(_async_out).get();
+ boost::dynamic_pointer_cast<AsyncMIDIPort> (_async_in)->add_shadow_port (string_compose (_("%1 Pads"), X_("Push 2")));
+
connect_to_parser ();
return 0;