diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2023-10-31 20:34:46 +0100 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2024-03-30 22:11:25 +0100 |
| commit | 028a0c25598948acd3725e1fd46e1b24601d6b0d (patch) | |
| tree | ad163d209a3f4118d3351d7afb331a1360fa0eb7 | |
| parent | bb65479be992d4ccbc0849f11915a52b85ed80ce (diff) | |
DOC: Describe how to use a custom so/dylib/dll
| -rw-r--r-- | doc/installation.rst | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/installation.rst b/doc/installation.rst index 57fbc98..2dea65c 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -33,7 +33,7 @@ manager (the package might be called ``libportaudio2`` or similar). .. note:: If you install PortAudio with a package manager (including ``conda``), - it will override the version installed with ``pip``. + it will likely override the version installed with ``pip``. The NumPy_ library is only needed if you want to play back and record NumPy arrays. The classes `sounddevice.RawStream`, `sounddevice.RawInputStream` and @@ -44,6 +44,19 @@ If needed -- and not installed already -- NumPy can be installed like this:: python -m pip install numpy +Custom PortAudio Library +------------------------ + +If you have a custom PortAudio library +(maybe a development version or a version with different features selected), +you can rename the library to ``libportaudio.so`` (Linux) +or ``libportaudio.dylib`` (macOS) and move it to ``/usr/local/lib``. +On Linux, you might have to run ``sudo ldconfig`` after that, +for the library to be found. +On Windows, you can rename the library to ``portaudio.dll`` +and move it to ``%SystemRoot%\system32``. + + Alternative Packages -------------------- |
