remove opus frame size (#1160)

* remove opus frame size

* improve naming, follow audio.py
This commit is contained in:
Henry Ruhs
2026-06-15 19:19:51 +02:00
committed by GitHub
parent c6aed91698
commit 5f403ada65
7 changed files with 26 additions and 18 deletions
+3
View File
@@ -115,6 +115,9 @@ def init_ctypes(library : ctypes.CDLL) -> ctypes.CDLL:
library.opus_decode_float.argtypes = [ ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int, ctypes.POINTER(ctypes.c_float), ctypes.c_int, ctypes.c_int ]
library.opus_decode_float.restype = ctypes.c_int
library.opus_decoder_get_nb_samples.argtypes = [ ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int ]
library.opus_decoder_get_nb_samples.restype = ctypes.c_int
library.opus_decoder_destroy.argtypes = [ ctypes.c_void_p ]
library.opus_decoder_destroy.restype = None