projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix incorrect restoration of pane positions on Apple.
[ardour.git]
/
gtk2_ardour
/
audio_clock.cc
diff --git
a/gtk2_ardour/audio_clock.cc
b/gtk2_ardour/audio_clock.cc
index 7cdf66123dc7f309b34b5a20e22fa953c2aa14ec..16b4151a81840a380c46cf45404ecafcfef46db6 100644
(file)
--- a/
gtk2_ardour/audio_clock.cc
+++ b/
gtk2_ardour/audio_clock.cc
@@
-42,7
+42,7
@@
#include "keyboard.h"
#include "gui_thread.h"
#include "ui_config.h"
#include "keyboard.h"
#include "gui_thread.h"
#include "ui_config.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace ARDOUR;
using namespace ARDOUR_UI_UTILS;
using namespace ARDOUR;
using namespace ARDOUR_UI_UTILS;
@@
-1258,12
+1258,12
@@
AudioClock::set_bbt (framepos_t when, bool /*force*/)
BBT.beats = 0;
BBT.ticks = 0;
} else {
BBT.beats = 0;
BBT.ticks = 0;
} else {
-
_session->tempo_map().bbt_time (when, BBT
);
+
BBT = _session->tempo_map().bbt_at_frame (when
);
BBT.bars--;
BBT.beats--;
}
} else {
BBT.bars--;
BBT.beats--;
}
} else {
-
_session->tempo_map().bbt_time (when, BBT
);
+
BBT = _session->tempo_map().bbt_at_frame (when
);
}
if (negative) {
}
if (negative) {