emscripten : add rx duration frames api getter (#100)

* Add rxDurationFrames api getter

* Fixed comment

---------

Co-authored-by: Vittorio Palmisano <vittorio.palmisano@ringcentral.com>
This commit is contained in:
Vittorio Palmisano
2023-09-08 12:19:11 +02:00
committed by GitHub
parent c2716d8cff
commit bac95c8113
4 changed files with 23 additions and 8 deletions

View File

@@ -340,6 +340,10 @@ extern "C" {
ggwave_ProtocolId protocolId,
int freqStart);
// Return recvDuration_frames value for a rx protocol
GGWAVE_API int ggwave_rxDurationFrames(
ggwave_Instance instance);
#ifdef __cplusplus
}
@@ -736,6 +740,7 @@ public:
int rxFramesLeftToRecord() const;
int rxFramesToAnalyze() const;
int rxFramesLeftToAnalyze() const;
int rxDurationFrames() const;
bool rxStopReceiving();