mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update utils.py
This commit is contained in:
@@ -88,6 +88,7 @@ def get_config() -> Config:
|
|||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
ffi = cffi.FFI()
|
ffi = cffi.FFI()
|
||||||
ffi.cdef("""
|
ffi.cdef("""
|
||||||
|
typedef int PaHostApiIndex;
|
||||||
const char* get_host_api_name(PaHostApiIndex hostApi);
|
const char* get_host_api_name(PaHostApiIndex hostApi);
|
||||||
""")
|
""")
|
||||||
lib = ffi.dlopen("libaudio.dll")
|
lib = ffi.dlopen("libaudio.dll")
|
||||||
|
|||||||
Reference in New Issue
Block a user