summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-13 07:22:18 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-09-27 14:59:31 -0500
commit313a0a7e90832f0f1c0aed6b3df470e0ec45101e (patch)
tree5e0bd6d69f7f737bd993e8d16a314897db42d33d /libs/surfaces
parent8fdf1669a7918d8c625d2ef10df2225c86a85d76 (diff)
push2: small change to work with a recent change in master
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/push2/gui.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/surfaces/push2/gui.cc b/libs/surfaces/push2/gui.cc
index e0ddb53e19..3762fa3a00 100644
--- a/libs/surfaces/push2/gui.cc
+++ b/libs/surfaces/push2/gui.cc
@@ -31,8 +31,7 @@
#include "ardour/audioengine.h"
#include "ardour/filesystem_paths.h"
-
-#include "evoral/midi_util.h"
+#include "ardour/parameter_descriptor.h"
#include "push2.h"
#include "gui.h"
@@ -457,7 +456,7 @@ P2GUI::build_pad_table ()
int n = p2.pad_note (row, col);
- Gtk::Button* b = manage (new Button (string_compose ("%1 (%2)", Evoral::midi_note_name (n), n)));
+ Gtk::Button* b = manage (new Button (string_compose ("%1 (%2)", ParameterDescriptor::midi_note_name (n), n)));
b->show ();
pad_table.attach (*b, col, col+1, (7-row), (8-row));