diff --git a/audio.py b/audio.py index d3c1045..0bdd30a 100644 --- a/audio.py +++ b/audio.py @@ -38,8 +38,8 @@ def init(freq=48000): Initialize BASS and the opus plugin """ global dll, use_ctypes - if platform.system() != "Darwin": - dll = ctypes.WinDLL(dllf) + if platform.system() == "Darwin": + dll = ctypes.CDLL(dllf) use_ctypes = True else: import pybass as dll