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
"""
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