summaryrefslogtreecommitdiff
path: root/src/sounddevice.py
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2017-11-17 12:49:22 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2017-11-17 13:06:32 +0100
commit2f8bc04032a355f04488f5c9e91f80f073564a40 (patch)
tree9af89074d3a11d374e6b7b663c3d7071c46f4c19 /src/sounddevice.py
parente25524cd32c4205c7cf86a967c9f63b332c9f3bb (diff)
Move portaudio-binaries submodule
... in order to be able to properly import _sounddevice_data, even on Python 2.x
Diffstat (limited to 'src/sounddevice.py')
-rw-r--r--src/sounddevice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sounddevice.py b/src/sounddevice.py
index 7ca9d43..3cf4d52 100644
--- a/src/sounddevice.py
+++ b/src/sounddevice.py
@@ -68,8 +68,8 @@ except OSError:
else:
raise
import _sounddevice_data
- _lib = _ffi.dlopen(
- _os.path.join(next(iter(_sounddevice_data.__path__)), _libname))
+ _lib = _ffi.dlopen(_os.path.join(next(iter(_sounddevice_data.__path__)),
+ 'portaudio-binaries', _libname))
_sampleformats = {
'float32': _lib.paFloat32,