Fix yet another oversight when coding blindly in 6a513a11f

This commit is contained in:
Robin Gareus 2022-06-03 07:29:23 +02:00
parent 5417ddd792
commit fa8f75c145
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -831,7 +831,7 @@ CoreAudioBackend::coreaudio_process_thread (void *arg)
{ {
ThreadData* td = reinterpret_cast<ThreadData*> (arg); ThreadData* td = reinterpret_cast<ThreadData*> (arg);
if (pbd_mach_set_realtime_policy (pthread_self (), period_ns, false)) { if (pbd_mach_set_realtime_policy (pthread_self (), td->period_ns, false)) {
PBD::warning << _("AudioEngine: process thread failed to set mach realtime policy.") << endmsg; PBD::warning << _("AudioEngine: process thread failed to set mach realtime policy.") << endmsg;
} }