Skip to content

Commit 6d72669

Browse files
committed
Set explicit path for macOS/arm64
1 parent 1cd776b commit 6d72669

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/jack.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@
4141
_libname = _find_library('jack')
4242

4343
if _libname is None:
44-
raise OSError('JACK library not found')
44+
if _platform.system() == 'Darwin' and _platform.machine() == 'arm64':
45+
_libname = '/opt/homebrew/lib/libjack.dylib'
46+
else:
47+
raise OSError('JACK library not found')
4548
_lib = _ffi.dlopen(_libname)
4649

4750
_AUDIO = b'32 bit float mono audio'

0 commit comments

Comments
 (0)