HamRemote/opus/api/__init__.py
2023-02-09 08:33:01 +01:00

10 lines
241 B
Python

import ctypes
from ctypes.util import find_library
libopus = ctypes.CDLL(find_library('opus'))
c_int_pointer = ctypes.POINTER(ctypes.c_int)
c_int16_pointer = ctypes.POINTER(ctypes.c_int16)
c_float_pointer = ctypes.POINTER(ctypes.c_float)