diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-07 00:17:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:30 -0500 |
commit | afef816a7bc90e46b5f1788c305591d22858ce6e (patch) | |
tree | 8cb74ce80ad6a58209274c28bf81dff60149ee43 /libs/surfaces/push2/push2.h | |
parent | 66453868cd18704babd08b52d4fd4ee5fcb67322 (diff) |
push2: use a map for direct lookup of pad note
Diffstat (limited to 'libs/surfaces/push2/push2.h')
-rw-r--r-- | libs/surfaces/push2/push2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/push2/push2.h b/libs/surfaces/push2/push2.h index 467fbe83b7..f987cd63f2 100644 --- a/libs/surfaces/push2/push2.h +++ b/libs/surfaces/push2/push2.h @@ -488,7 +488,7 @@ class Push2 : public ARDOUR::ControlProtocol /* pad mapping */ - uint8_t pad_table[8][8]; + std::map<int,int> pad_map; void build_pad_table(); int octave_shift; }; |