mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Fix thinko in eee01188 (engine pulse spacing)
This commit is contained in:
parent
e508bb1396
commit
c87bec07cd
1 changed files with 1 additions and 1 deletions
|
|
@ -1714,7 +1714,7 @@ DummyPort::pulse_position () const
|
|||
{
|
||||
samplecnt_t sr = _dummy_backend.sample_rate ();
|
||||
samplepos_t st = _dummy_backend.sample_time_at_cycle_start();
|
||||
return st % sr;
|
||||
return (sr - (st % sr)) % sr;
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue