mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Add parallel realtime threads to CoreAudio workgroup
This API is only available since BigSur (11.0), see also https://developer.apple.com/documentation/audiotoolbox/workgroup_management/adding_parallel_real-time_threads_to_audio_workgroups?language=objc
This commit is contained in:
parent
88e9fc3e22
commit
74ee7ee091
4 changed files with 63 additions and 1 deletions
|
|
@ -23,6 +23,10 @@
|
|||
#include <CoreAudio/CoreAudio.h>
|
||||
#include <AudioUnit/AudioUnit.h>
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
|
||||
# include <AudioToolbox/AudioToolbox.h>
|
||||
#endif
|
||||
|
||||
#include <AudioUnit/AudioUnit.h>
|
||||
#include <AudioToolbox/AudioToolbox.h>
|
||||
|
||||
|
|
@ -74,6 +78,10 @@ public:
|
|||
|
||||
void launch_control_app (uint32_t device_id);
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
|
||||
bool workgroup (os_workgroup_t&);
|
||||
#endif
|
||||
|
||||
void pcm_stop (void);
|
||||
int pcm_start (
|
||||
uint32_t input_device,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue