view intercom/gsm/rpeltp.h @ 5:f762bf195c4b

import spandsp-0.0.3
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 16:00:21 +0200
parents 13be24d74cd2
children
line wrap: on
line source

/* -------------------------------------------------------------------------- */
/* 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.