Mercurial > hg > audiostuff
view intercom/g726/g726_rfc3551.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
/* g726_rfc3551.c * * Copyright (C) DFS Deutsche Flugsicherung (2004, 2005). * All Rights Reserved. * Author: Andre Adrian */ void g726_initEncode(G726_state *encoder_state); short g726_encode( /* (o) Number of bytes encoded */ G726_state *state, /* (i/o) Encoder instance */ unsigned char *encoded_data, /* (o) The encoded bytes */ short *inp_buf /* (i) The signal block to encode */ ); void g726_initDecode(G726_state *decoder_state); short g726_decode( /* (o) Number of decoded samples */ G726_state *state, /* (i/o) Decoder instance */ short *decoded_data, /* (o) Decoded signal block */ unsigned char *encoded_data, /* (i) Encoded bytes */ short mode /* (i) 0=PL, 1=Normal */ );