view intercom/gsm/rpeltp.h @ 4:26cd8f1ef0b1

import spandsp-0.0.6pre17
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 15:50:58 +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.