summaryrefslogtreecommitdiff
path: root/gtk2_ardour/hit.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-22 04:05:42 -0500
committerDavid Robillard <d@drobilla.net>2014-11-22 04:05:42 -0500
commitc1cfa12d6e5136d2e3e5501e83ff74c5009a9e60 (patch)
tree56d2811bc8b9d6f2a5accfa8e497ddd5976c7c7a /gtk2_ardour/hit.h
parentcae74309a583c29dd6cc2081425c2e7b673ea13e (diff)
Wrap MusicalTime in a class.
This lets us get a more explicit handle on time conversions, and is the main step towards using actual beat:tick time and getting away from floating point precision problems.
Diffstat (limited to 'gtk2_ardour/hit.h')
-rw-r--r--gtk2_ardour/hit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/hit.h b/gtk2_ardour/hit.h
index 5a6cef9943..f13a0ef27c 100644
--- a/gtk2_ardour/hit.h
+++ b/gtk2_ardour/hit.h
@@ -30,7 +30,7 @@ namespace ArdourCanvas {
class Hit : public NoteBase
{
public:
- typedef Evoral::Note<double> NoteType;
+ typedef Evoral::Note<Evoral::MusicalTime> NoteType;
Hit (MidiRegionView& region,
ArdourCanvas::Item* parent,