mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
eliminate hacky design for being able to deliver the correct time as JACK timebase master
This commit is contained in:
parent
2f87b111e5
commit
c69227fd8d
3 changed files with 10 additions and 2 deletions
|
|
@ -115,7 +115,13 @@ JACKSession::timebase_callback (jack_transport_state_t /*state*/,
|
|||
{
|
||||
Timecode::BBT_Time bbt;
|
||||
TempoMap& tempo_map (_session->tempo_map());
|
||||
samplepos_t tf = _session->transport_sample ();
|
||||
samplepos_t tf;
|
||||
|
||||
/* see commit msg for e2c26e1b9 and Session::start_locate() for
|
||||
details.
|
||||
*/
|
||||
|
||||
tf = _session->nominal_jack_transport_sample().value_or (_session->transport_sample());
|
||||
|
||||
/* BBT info */
|
||||
|
||||
|
|
@ -191,4 +197,3 @@ JACKSession::timebase_callback (jack_transport_state_t /*state*/,
|
|||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue