File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ manager (the package might be called ``libportaudio2`` or similar).
3333.. note ::
3434
3535 If you install PortAudio with a package manager (including ``conda ``),
36- it will override the version installed with ``pip ``.
36+ it will likely override the version installed with ``pip ``.
3737
3838The NumPy _ library is only needed if you want to play back and record NumPy arrays.
3939The classes `sounddevice.RawStream `, `sounddevice.RawInputStream ` and
@@ -44,6 +44,19 @@ If needed -- and not installed already -- NumPy can be installed like this::
4444 python -m pip install numpy
4545
4646
47+ Custom PortAudio Library
48+ ------------------------
49+
50+ If you have a custom PortAudio library
51+ (maybe a development version or a version with different features selected),
52+ you can rename the library to ``libportaudio.so `` (Linux)
53+ or ``libportaudio.dylib `` (macOS) and move it to ``/usr/local/lib ``.
54+ On Linux, you might have to run ``sudo ldconfig `` after that,
55+ for the library to be found.
56+ On Windows, you can rename the library to ``portaudio.dll ``
57+ and move it to ``%SystemRoot%\system32 ``.
58+
59+
4760Alternative Packages
4861--------------------
4962
You can’t perform that action at this time.
0 commit comments