mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
add new ::update_interval() method for transport masters, and use in shared ::speed_and_position() implementation
This commit is contained in:
parent
1dc35d157e
commit
22061310c0
7 changed files with 56 additions and 5 deletions
|
|
@ -125,3 +125,10 @@ Engine_TransportMaster::allow_request (TransportRequestSource src, TransportRequ
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
samplecnt_t
|
||||
Engine_TransportMaster::update_interval () const
|
||||
{
|
||||
return AudioEngine::instance()->samples_per_cycle();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue