diff --git a/audio.py b/audio.py index c11ebf3..cc54ed6 100644 --- a/audio.py +++ b/audio.py @@ -59,7 +59,7 @@ def getdevices(): """ Get BASS devices """ - info = BASS_DEVICEINFO() + info = BASS_DEVICEINFO() if use_ctypes else dll.BASS_DEVICEINFO() ind = 0 devices = [] while dll.BASS_GetDeviceInfo(ind, ctypes.c_voidp(ctypes.addressof(info)) if use_ctypes else info):