Open
Description
It would be nice to be able to specify the location of the portaudio lib for people that want to use a specific location and/or version. At present the code just uses whatever ctypes find_library discovers or reverts to the provided _sounddevice_data
folder.
Downsides:
- it's often unnecessary to provide portaudio (at least on *nix systems)
- this isn't the location that the rest of the OS expects things. That causes problems for packaging the lib into an app. For example to wrap sounddevice up into an application bundle on Mac (e.g. py2app) the dylib files really should go into the Contents/Frameworks folder. If the app is going to be code-signed to verify it was from a trusted developer then the dylibs MUST go into the frameworks folder
I wonder if we could have something like a check for an environment variable first, like os.environ['SD_PORTAUDIO'] ?
Metadata
Metadata
Assignees
Labels
No labels