From 8fcfac0f0402a41c6ad2ad1b4b3b6b6eec21522f Mon Sep 17 00:00:00 2001 From: Headshotnoby Date: Sun, 20 Jun 2021 11:12:21 -0400 Subject: [PATCH] windll again you idiot --- audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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