mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
/*! \file
|
||||
*
|
||||
* \brief codec_adpcm.c - translate between signed linear and Dialogic ADPCM
|
||||
*
|
||||
*
|
||||
* \ingroup codecs
|
||||
*/
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#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 };
|
||||
@@ -167,7 +167,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;
|
||||
@@ -208,7 +208,7 @@ static inline int adpcm(short csig, struct adpcm_state *state)
|
||||
|
||||
/* feedback to state */
|
||||
decode(encoded, state);
|
||||
|
||||
|
||||
return encoded;
|
||||
}
|
||||
|
||||
@@ -259,7 +259,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;
|
||||
|
||||
|
Reference in New Issue
Block a user