diff intercom/gsm/rpeltp.h @ 2:13be24d74cd2

import intercom-0.4.1
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:57:52 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/intercom/gsm/rpeltp.h	Fri Jun 25 09:57:52 2010 +0200
@@ -0,0 +1,33 @@
+/* -------------------------------------------------------------------------- */
+/* File: RPELTP.H version 1.0                           2-APR-1994 (18:00)    */
+/* -------------------------------------------------------------------------- */
+/*                 Definitions for the rpeltp module                          */
+/* -------------------------------------------------------------------------- */
+#ifndef RPELTP_defined
+#define RPELTP_defined 100
+
+#ifndef ARGS
+#if defined(MSDOS) || defined(VMS) || defined (__STDC__)
+#define ARGS(x) x
+#else                           /* Unix: no parameters in prototype! */
+#define ARGS(x) ()
+#endif
+#endif
+
+/* Some basic definitions */
+#define RPE_FRAME_SIZE 76L
+#define RPE_WIND_SIZE 160L
+
+/* Function prototypes */
+gsm rpeltp_init ARGS((void));
+void rpeltp_encode ARGS((gsm rpe_state, short *inp_buf,
+    short *rpe_frame));
+void rpeltp_decode ARGS((gsm rpe_state, short *rpe_frame,
+    short *out_buf));
+
+/* Alias-function definition */
+#define rpeltp_delete gsm_destroy
+
+#endif                          /* RPELTP_defined */
+
+/* ------------------------- End of file rpeltp.h ------------------------- */

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.