diff options
Diffstat (limited to 'codecs/codec_adpcm.c')
-rw-r--r-- | codecs/codec_adpcm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/codecs/codec_adpcm.c b/codecs/codec_adpcm.c index 924ec7650..f96671ba2 100644 --- a/codecs/codec_adpcm.c +++ b/codecs/codec_adpcm.c @@ -23,7 +23,7 @@ /*! \file * * \brief codec_adpcm.c - translate between signed linear and Dialogic ADPCM - * + * * \ingroup codecs */ @@ -52,7 +52,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "ex_adpcm.h" /* - * Step size index shift table + * Step size index shift table */ static int indsft[8] = { -1, -1, -1, -1, 2, 4, 6, 8 }; @@ -169,7 +169,7 @@ static inline int adpcm(short csig, struct adpcm_state *state) int step; int encoded; - /* + /* * Clip csig if too large or too small */ csig >>= 4; @@ -210,7 +210,7 @@ static inline int adpcm(short csig, struct adpcm_state *state) /* feedback to state */ decode(encoded, state); - + return encoded; } @@ -261,7 +261,7 @@ static struct ast_frame *lintoadpcm_frameout(struct ast_trans_pvt *pvt) struct ast_frame *f; int i; int samples = pvt->samples; /* save original number */ - + if (samples < 2) return NULL; |