windll again you idiot
This commit is contained in:
parent
7ba056f0b6
commit
8fcfac0f04
4
audio.py
4
audio.py
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user