mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
random commit to facilitate trivial move of work from laptop back to main system
This commit is contained in:
parent
5836a4f2b6
commit
f67029bd02
36 changed files with 195 additions and 837 deletions
|
|
@ -34,6 +34,7 @@
|
|||
#include "jack_session.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace Temporal;
|
||||
using std::string;
|
||||
|
||||
JACKSession::JACKSession (Session* s)
|
||||
|
|
@ -128,14 +129,14 @@ JACKSession::timebase_callback (jack_transport_state_t /*state*/,
|
|||
TempoMetric metric (tempo_map.metric_at (tf));
|
||||
|
||||
try {
|
||||
bbt = tempo_map.bbt_at_sample_rt (tf);
|
||||
bbt = tempo_map.bbt_at (tf);
|
||||
|
||||
pos->bar = bbt.bars;
|
||||
pos->beat = bbt.beats;
|
||||
pos->tick = bbt.ticks;
|
||||
|
||||
pos->beats_per_bar = metric.meter().divisions_per_bar();
|
||||
pos->beat_type = metric.meter().note_divisor();
|
||||
pos->beat_type = metric.meter().note_value();
|
||||
pos->ticks_per_beat = Temporal::ticks_per_beat;
|
||||
pos->beats_per_minute = metric.tempo().note_types_per_minute();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue