windll again you idiot

This commit is contained in:
Headshotnoby 2021-06-20 11:12:21 -04:00
parent 7ba056f0b6
commit 8fcfac0f04

View File

@ -38,8 +38,8 @@ def init(freq=48000):
Initialize BASS and the opus plugin Initialize BASS and the opus plugin
""" """
global dll, use_ctypes global dll, use_ctypes
if platform.system() != "Darwin": if platform.system() == "Darwin":
dll = ctypes.WinDLL(dllf) dll = ctypes.CDLL(dllf)
use_ctypes = True use_ctypes = True
else: else:
import pybass as dll import pybass as dll