
How To Fix Plug-Ins Realtime Multicore Processing Performance on MacOS
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6336 posts since 8 Sep, 2004 from Paris (France)
- KVRist
- 488 posts since 25 Aug, 2016 from Helsinki, Finland
Hey, I'm trying to implement audio workgroup support for my CLAP/VST3 plugin and everything else seems clear to me... except where to get the value for os_workgroup_key? Maybe there's something obvious I'm missing since I'm not super familiar with MacOS development, but I couldn't find the library / framework I should be linking with to find os_workgroup_key. Depending on configuration settings it looks like it might also be statically defined as __PTK_LIBDISPATCH_WORKGROUP_KEY1 but I couldn't find where that's defined either. Any pointers?
Viiri Audio https://viiri-audio.com/
- KVRist
- 488 posts since 25 Aug, 2016 from Helsinki, Finland
For anyone running into the same issue: it's actually defined in the _libpthread_ private header, not _libdispatch_: https://github.com/apple-oss-distributi ... ate.h#L232
Viiri Audio https://viiri-audio.com/
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- Topic Starter
- 6336 posts since 8 Sep, 2004 from Paris (France)
Yes, I remember it was indeed defined together with several other keys for other libs in the pthreads library!