edited state names
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 25 Mar 2018 21:42:16 +0000 (21:42 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 25 Mar 2018 21:42:16 +0000 (21:42 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3439 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/codec2_ofdm.h

index 5b00876d763cf0f8d450ad19340597beab2c7d5d..a8e63c4674772f85350774a6a5cdfecd90c5b679 100644 (file)
@@ -45,15 +45,25 @@ struct OFDM;
 
 /* Constant declarations */
 
+#define OFDM_SEARCHING 1
+#define OFDM_SYNCED    2
+    
 /* Default configuration for '700D' mode */
 const struct OFDM_CONFIG * OFDM_CONFIG_700D;
 
-/* getters */
+/* create and destroy modem states */
 
 struct OFDM *ofdm_create(const struct OFDM_CONFIG * config);
 void ofdm_destroy(struct OFDM *);
+
+/* signal processing */
+
 void ofdm_mod(struct OFDM *, COMP *, const int *);
 void ofdm_demod(struct OFDM *, int *, COMP *);
+int  ofdm_sync_search(struct OFDM *ofdm, COMP *rxbuf_in);
+
+/* getters */
+    
 int ofdm_get_nin(struct OFDM *);
 int ofdm_get_samples_per_frame(void);
 int ofdm_get_max_samples_per_frame(void);