Add getters/setters to codec2_ofdm.h
authorokcsampson <okcsampson@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 7 Jun 2017 19:31:33 +0000 (19:31 +0000)
committerokcsampson <okcsampson@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 7 Jun 2017 19:31:33 +0000 (19:31 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3159 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/codec2_ofdm.h

index c25901639a833ac204c2fb1cd8b830d7414f8fb7..eddbb4cd1740be399ce2a86dc610b5ce50ec6fba 100644 (file)
@@ -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
+