HamRemote/opus/api/__init__.py

10 lines
241 B
Python
Raw Normal View History

2023-02-09 08:33:01 +01:00
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)