Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ NumPy (optional):
.. _JACK: https://jackaudio.org/
.. _NumPy: https://numpy.org/
.. _Python: https://www.python.org/
.. _Anaconda: https://www.anaconda.com/download#downloads
.. _Anaconda: https://www.anaconda.com/download/success
.. _WinPython: http://winpython.github.io/
.. _C Foreign Function Interface for Python: https://cffi.readthedocs.org/
.. _PyPy: https://www.pypy.org/
Expand Down
5 changes: 4 additions & 1 deletion src/jack.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
_libname = _find_library('jack')

if _libname is None:
raise OSError('JACK library not found')
if _platform.system() == 'Darwin' and _platform.machine() == 'arm64':
_libname = '/opt/homebrew/lib/libjack.dylib'
else:
raise OSError('JACK library not found')
_lib = _ffi.dlopen(_libname)

_AUDIO = b'32 bit float mono audio'
Expand Down