projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tempo ramps - rename bbt_time() -> bbt_at_frame(), frame_time() -> frame_at_bbt()
[ardour.git]
/
gtk2_ardour
/
editor_regions.cc
diff --git
a/gtk2_ardour/editor_regions.cc
b/gtk2_ardour/editor_regions.cc
index f95e5b797e2cf25c48e7fe6ff1efffd60ca7192e..83219318716f4e8bb1a30ef0a2aa3cc1898b60fd 100644
(file)
--- a/
gtk2_ardour/editor_regions.cc
+++ b/
gtk2_ardour/editor_regions.cc
@@
-728,7
+728,7
@@
EditorRegions::format_position (framepos_t pos, char* buf, size_t bufsize, bool
switch (ARDOUR_UI::instance()->secondary_clock->mode ()) {
case AudioClock::BBT:
switch (ARDOUR_UI::instance()->secondary_clock->mode ()) {
case AudioClock::BBT:
-
_session->tempo_map().bbt_time (pos, bbt
);
+
bbt = _session->tempo_map().bbt_at_frame (pos
);
if (onoff) {
snprintf (buf, bufsize, "%03d|%02d|%04d" , bbt.bars, bbt.beats, bbt.ticks);
} else {
if (onoff) {
snprintf (buf, bufsize, "%03d|%02d|%04d" , bbt.bars, bbt.beats, bbt.ticks);
} else {