juce-framework / JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
https://juce.com
Other
6.7k stars 1.76k forks source link

[Bug]: missing JACK support on macOS #1176

Open umlaeute opened 1 year ago

umlaeute commented 1 year ago

Detailed steps on how to reproduce the bug

What is the expected behaviour?

i would expect optional JACK support, just like under linux.

it seems that it would be sufficient to also search for libjack.0.dylib (resp libjack.dylib) when trying to dlopen() the jack libraries:

https://github.com/juce-framework/JUCE/blob/bbd6ccbc863edec3150e1e024e4fa3f636802596/modules/juce_audio_devices/native/juce_linux_JackAudio.cpp#L597-L600

Operating systems

macOS

What versions of the operating systems?

10.11

Architectures

x86_64

Stacktrace

No response

Plug-in formats (if applicable)

Standalone

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

dromer commented 1 day ago

I tried looking into this a little bit over here: https://github.com/plugdata-team/JUCE/compare/opengl_test...Wasted-Audio:JUCE_plugdata:feature/jack4all

Specifically for the plugdata project. However I haven't been able to successfully build test for macOS yet.

dromer commented 14 hours ago

It works btw:

The downside is that you still have to deal with the limitations of the JACK implementation in JUCE: https://github.com/juce-framework/JUCE/issues/333

dromer commented 14 hours ago

When first starting Cardinal and then selecting it as "device" i/o: