mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
clean up some warnings because it anoyed me
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@779 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -60,25 +60,26 @@ struct {
|
||||
/* ***************************************************************** */
|
||||
|
||||
/* $Log: lpcini.c,v $
|
||||
/* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
/* Initial version
|
||||
/*
|
||||
/* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
/* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
/*
|
||||
/* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
/* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
/*
|
||||
/* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
/* Added LPC-10 2400bps codec
|
||||
/*
|
||||
* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
* Initial version
|
||||
*
|
||||
* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
*
|
||||
* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
*
|
||||
* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
* Added LPC-10 2400bps codec
|
||||
*
|
||||
* Revision 1.2 1996/08/20 20:35:41 jaf
|
||||
* Added functions for allocating and initializing lpc10_encoder_state
|
||||
* and lpc10_decoder_state structures.
|
||||
*
|
||||
* Revision 1.1 1996/08/19 22:31:40 jaf
|
||||
* Initial revision
|
||||
* */
|
||||
*
|
||||
*/
|
||||
/* Revision 1.1 1996/03/28 00:04:05 jaf */
|
||||
/* Initial revision */
|
||||
|
||||
@@ -92,25 +93,26 @@ struct {
|
||||
{
|
||||
|
||||
/* $Log: lpcini.c,v $
|
||||
/* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
/* Initial version
|
||||
/*
|
||||
/* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
/* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
/*
|
||||
/* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
/* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
/*
|
||||
/* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
/* Added LPC-10 2400bps codec
|
||||
/*
|
||||
* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
* Initial version
|
||||
*
|
||||
* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
*
|
||||
* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
*
|
||||
* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
* Added LPC-10 2400bps codec
|
||||
*
|
||||
* Revision 1.2 1996/08/20 20:35:41 jaf
|
||||
* Added functions for allocating and initializing lpc10_encoder_state
|
||||
* and lpc10_decoder_state structures.
|
||||
*
|
||||
* Revision 1.1 1996/08/19 22:31:40 jaf
|
||||
* Initial revision
|
||||
* */
|
||||
*
|
||||
*/
|
||||
/* Revision 1.3 1996/03/29 22:03:47 jaf */
|
||||
/* Removed definitions for any constants that were no longer used. */
|
||||
|
||||
@@ -124,25 +126,26 @@ struct {
|
||||
/* LPC Configuration parameters: */
|
||||
/* Frame size, Prediction order, Pitch period */
|
||||
/* $Log: lpcini.c,v $
|
||||
/* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
/* Initial version
|
||||
/*
|
||||
/* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
/* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
/*
|
||||
/* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
/* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
/*
|
||||
/* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
/* Added LPC-10 2400bps codec
|
||||
/*
|
||||
* Revision 1.1 2004/05/04 11:16:43 csoutheren
|
||||
* Initial version
|
||||
*
|
||||
* Revision 1.3 2002/10/10 05:29:04 robertj
|
||||
* Removed non-ansi-C comments to maximise portability, thanks Martijn Roest
|
||||
*
|
||||
* Revision 1.2 2001/02/24 14:00:10 rogerh
|
||||
* Select the correct header file for malloc (stdlib.h or malloc.h)
|
||||
*
|
||||
* Revision 1.1 2000/06/05 04:45:12 robertj
|
||||
* Added LPC-10 2400bps codec
|
||||
*
|
||||
* Revision 1.2 1996/08/20 20:35:41 jaf
|
||||
* Added functions for allocating and initializing lpc10_encoder_state
|
||||
* and lpc10_decoder_state structures.
|
||||
*
|
||||
* Revision 1.1 1996/08/19 22:31:40 jaf
|
||||
* Initial revision
|
||||
* */
|
||||
*
|
||||
*/
|
||||
/* Revision 1.3 1996/03/29 22:05:55 jaf */
|
||||
/* Commented out the common block variables that are not needed by the */
|
||||
/* embedded version. */
|
||||
@@ -278,7 +281,7 @@ void init_lpc10_encoder_state(struct lpc10_encoder_state *st)
|
||||
st->ivbuf[i] = 0.0f;
|
||||
}
|
||||
st->bias = 0.0f;
|
||||
/* integer osbuf[10]; /* no initial value necessary */
|
||||
/* integer osbuf[10]; no initial value necessary */
|
||||
st->osptr = 1;
|
||||
for (i = 0; i < 3; i++) {
|
||||
st->obound[i] = 0;
|
||||
@@ -302,14 +305,14 @@ void init_lpc10_encoder_state(struct lpc10_encoder_state *st)
|
||||
/* State used by function onset */
|
||||
st->n = 0.0f;
|
||||
st->d__ = 1.0f;
|
||||
/* real fpc; /* no initial value necessary */
|
||||
/* real fpc; no initial value necessary */
|
||||
for (i = 0; i < 16; i++) {
|
||||
st->l2buf[i] = 0.0f;
|
||||
}
|
||||
st->l2sum1 = 0.0f;
|
||||
st->l2ptr1 = 1;
|
||||
st->l2ptr2 = 9;
|
||||
/* integer lasti; /* no initial value necessary */
|
||||
/* integer lasti; no initial value necessary */
|
||||
st->hyst = FALSE_;
|
||||
|
||||
/* State used by function voicin */
|
||||
@@ -393,11 +396,11 @@ void init_lpc10_decoder_state(struct lpc10_decoder_state *st)
|
||||
st->buflen = 180;
|
||||
|
||||
/* State used by function pitsyn */
|
||||
/* ivoico; /* no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* ipito; /* no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* ivoico; no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* ipito; no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
st->rmso = 1.0f;
|
||||
/* rco[10]; /* no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* integer jsamp; /* no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* rco[10]; no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
/* integer jsamp; no initial value necessary as long as first_pitsyn is initially TRUE_ */
|
||||
st->first_pitsyn = TRUE_;
|
||||
|
||||
/* State used by function bsynz */
|
||||
|
Reference in New Issue
Block a user