summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
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));