mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
updated codec2 header file
This commit is contained in:
parent
aa744b693b
commit
34788be3ba
1 changed files with 20 additions and 1 deletions
|
@ -6,7 +6,7 @@ from ctypes import *
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
print("loading module", file=sys.stderr)
|
print("loading codec2 module", file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
# LOAD FREEDV
|
# LOAD FREEDV
|
||||||
|
@ -27,6 +27,15 @@ api.freedv_nin.restype = c_int
|
||||||
api.freedv_rawdatarx.argtype = [c_void_p, c_char_p, c_char_p]
|
api.freedv_rawdatarx.argtype = [c_void_p, c_char_p, c_char_p]
|
||||||
api.freedv_rawdatarx.restype = c_int
|
api.freedv_rawdatarx.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_rawdatatx.argtype = [c_void_p, c_char_p, c_char_p]
|
||||||
|
api.freedv_rawdatatx.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_rawdatapostambletx.argtype = [c_void_p, c_char_p, c_char_p]
|
||||||
|
api.freedv_rawdatapostambletx.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_rawdatapreambletx.argtype = [c_void_p, c_char_p, c_char_p]
|
||||||
|
api.freedv_rawdatapreambletx.restype = c_int
|
||||||
|
|
||||||
api.freedv_get_n_max_modem_samples.argtype = [c_void_p]
|
api.freedv_get_n_max_modem_samples.argtype = [c_void_p]
|
||||||
api.freedv_get_n_max_modem_samples.restype = c_int
|
api.freedv_get_n_max_modem_samples.restype = c_int
|
||||||
|
|
||||||
|
@ -35,3 +44,13 @@ api.freedv_set_frames_per_burst.restype = c_void_p
|
||||||
|
|
||||||
api.freedv_get_rx_status.argtype = [c_void_p]
|
api.freedv_get_rx_status.argtype = [c_void_p]
|
||||||
api.freedv_get_rx_status.restype = c_int
|
api.freedv_get_rx_status.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_get_n_tx_postamble_modem_samples.argtype = [c_void_p]
|
||||||
|
api.freedv_get_n_tx_postamble_modem_samples.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_get_n_tx_preamble_modem_samples.argtype = [c_void_p]
|
||||||
|
api.freedv_get_n_tx_preamble_modem_samples.restype = c_int
|
||||||
|
|
||||||
|
api.freedv_get_n_tx_modem_samples.argtype = [c_void_p]
|
||||||
|
api.freedv_get_n_tx_modem_samples.restype = c_int
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue