From: okcsampson Date: Wed, 7 Jun 2017 19:31:33 +0000 (+0000) Subject: Add getters/setters to codec2_ofdm.h X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=f80209cbb1abd1296592c589ef593fefdad80cfc;p=freetel-svn-tracking.git Add getters/setters to codec2_ofdm.h git-svn-id: https://svn.code.sf.net/p/freetel/code@3159 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/codec2_ofdm.h b/codec2-dev/src/codec2_ofdm.h index c2590163..eddbb4cd 100644 --- a/codec2-dev/src/codec2_ofdm.h +++ b/codec2-dev/src/codec2_ofdm.h @@ -31,11 +31,21 @@ struct OFDM *ofdm_create(float, float, int, float, float, int, int); void ofdm_destroy(struct OFDM *); int ofdm_errno(void); COMP *ofdm_mod(struct OFDM *ofdm, int *); -int *ofdm_demod(struct OFDM *ofdm, COMP *); +int *ofdm_demod(struct OFDM *ofdm, COMP []); +/* getters and setters */ + +void set_verbose(struct OFDM *, int); +int get_verbose(struct OFDM *); +void set_timing_enable(struct OFDM *, bool); +void set_foff_est_enable(struct OFDM *, bool); +void set_phase_est_enable(struct OFDM *, bool); +void set_foff_est_gain(struct OFDM *, float); +void set_off_est_hz(struct OFDM *, float); #ifdef __cplusplus } #endif #endif +