diff --git a/doc/installation.rst b/doc/installation.rst index a417237..16b3b74 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -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/ diff --git a/src/jack.py b/src/jack.py index 3501bdc..dec9cd7 100644 --- a/src/jack.py +++ b/src/jack.py @@ -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'