13
0

JACK latency compensation for newly created tracks #8472

Ardour native backends trigger a latency-callback when ports_changed.
This was lost for JACK when the shared port engine was implemented.
This commit is contained in:
Robin Gareus 2021-01-14 03:21:59 +01:00
parent 350938b68e
commit 0c81ba33d2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -208,6 +208,8 @@ void
JACKAudioBackend::_registration_callback (jack_port_id_t /*id*/, int /*reg*/, void* arg)
{
static_cast<JACKAudioBackend*> (arg)->manager.registration_callback ();
static_cast<JACKAudioBackend*> (arg)->engine.latency_callback (false);
static_cast<JACKAudioBackend*> (arg)->engine.latency_callback (true);
}
int