core : refactoring + bug fix

- rename callback types
- fix calculation of data frames
This commit is contained in:
Georgi Gerganov
2021-01-23 15:47:59 +02:00
parent ccb7fae08d
commit 597cc48cbb
9 changed files with 165 additions and 144 deletions

View File

@@ -17,10 +17,10 @@ cdef extern from "ggwave.h" nogil:
GGWAVE_TX_PROTOCOL_ULTRASOUND_FASTEST
ctypedef struct ggwave_Parameters:
int sampleRateIn
int sampleRateInp
int sampleRateOut
int samplesPerFrame
ggwave_SampleFormat sampleFormatIn
ggwave_SampleFormat sampleFormatInp
ggwave_SampleFormat sampleFormatOut
ctypedef int ggwave_Instance