summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-14 18:13:37 +0000
committerDavid Robillard <d@drobilla.net>2010-12-14 18:13:37 +0000
commit4b861e603972148a29638cade51cee27ebc997a2 (patch)
tree1ff879960fa5abfece3c560a0562b92189d8adf9 /gtk2_ardour/editor_tempodisplay.cc
parent341c409fa1d77cf1259f044a3045dc3250b7c030 (diff)
Rename libmusictime libtimecode (consistent with already used namespace "Timecode").
Move BBT_Time to libtimecode. git-svn-id: svn://localhost/ardour2/branches/3.0@8271 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index 90fd6136cf..2bbcdf0472 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -144,7 +144,7 @@ Editor::compute_current_bbt_points (framepos_t leftmost, framepos_t rightmost)
return;
}
- BBT_Time previous_beat, next_beat; // the beats previous to the leftmost frame and after the rightmost frame
+ Timecode::BBT_Time previous_beat, next_beat; // the beats previous to the leftmost frame and after the rightmost frame
_session->bbt_time(leftmost, previous_beat);
_session->bbt_time(rightmost, next_beat);
@@ -224,7 +224,7 @@ Editor::mouse_add_new_tempo_event (framepos_t frame)
}
double bpm = 0;
- BBT_Time requested;
+ Timecode::BBT_Time requested;
bpm = tempo_dialog.get_bpm ();
double nt = tempo_dialog.get_note_type();
@@ -271,7 +271,7 @@ Editor::mouse_add_new_meter_event (framepos_t frame)
bpb = max (1.0, bpb); // XXX is this a reasonable limit?
double note_type = meter_dialog.get_note_type ();
- BBT_Time requested;
+ Timecode::BBT_Time requested;
meter_dialog.get_bbt_time (requested);
@@ -352,7 +352,7 @@ Editor::edit_tempo_section (TempoSection* section)
double bpm = tempo_dialog.get_bpm ();
double nt = tempo_dialog.get_note_type ();
- BBT_Time when;
+ Timecode::BBT_Time when;
tempo_dialog.get_bbt_time(when);
bpm = max (0.01, bpm);