mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-02-07 01:11:22 +08:00
wip : refactoring
This commit is contained in:
2
bindings/python/.gitignore
vendored
2
bindings/python/.gitignore
vendored
@@ -1,7 +1,7 @@
|
||||
ggwave.so
|
||||
README.rst
|
||||
ggwave.bycython.cpp
|
||||
ggwave.cpython-36m-x86_64-linux-gnu.so
|
||||
ggwave.cpython-*-x86_64-linux-gnu.so
|
||||
ggwave/
|
||||
ggwave.egg-info/
|
||||
dist/
|
||||
|
||||
@@ -30,14 +30,21 @@ cdef extern from "ggwave.h" nogil:
|
||||
GGWAVE_TX_PROTOCOL_CUSTOM_8,
|
||||
GGWAVE_TX_PROTOCOL_CUSTOM_9
|
||||
|
||||
ctypedef enum ggwave_OperatingMode:
|
||||
GGWAVE_OPERATING_MODE_BOTH_RX_AND_TX,
|
||||
GGWAVE_OPERATING_MODE_ONLY_RX,
|
||||
GGWAVE_OPERATING_MODE_ONLY_TX,
|
||||
|
||||
ctypedef struct ggwave_Parameters:
|
||||
int payloadLength
|
||||
float sampleRateInp
|
||||
float sampleRateOut
|
||||
float sampleRate
|
||||
int samplesPerFrame
|
||||
float soundMarkerThreshold
|
||||
ggwave_SampleFormat sampleFormatInp
|
||||
ggwave_SampleFormat sampleFormatOut
|
||||
ggwave_OperatingMode operatingMode
|
||||
|
||||
ctypedef int ggwave_Instance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user