From 105db99d30392eb8e7895381cdfeb904a2c2af38 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 8 Jan 2016 17:26:47 +0100 Subject: [PATCH] fit in 80 columns --- sndiod/dsp.c | 3 ++- sndiod/dsp.h | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sndiod/dsp.c b/sndiod/dsp.c index 44d84ce..1b58159 100644 --- a/sndiod/dsp.c +++ b/sndiod/dsp.c @@ -296,7 +296,8 @@ resamp_do(struct resamp *p, adata_t *in, adata_t *out, int todo) * initialize resampler with ibufsz/obufsz factor and "nch" channels */ void -resamp_init(struct resamp *p, unsigned int iblksz, unsigned int oblksz, int nch) +resamp_init(struct resamp *p, unsigned int iblksz, + unsigned int oblksz, int nch) { unsigned int i; diff --git a/sndiod/dsp.h b/sndiod/dsp.h index 53ad4ea..0e278dd 100644 --- a/sndiod/dsp.h +++ b/sndiod/dsp.h @@ -105,9 +105,9 @@ typedef int adata_t; struct aparams { unsigned int bps; /* bytes per sample */ unsigned int bits; /* actually used bits */ - unsigned int le; /* 1 if little endian, 0 if big endian */ + unsigned int le; /* 1 if little endian, else be */ unsigned int sig; /* 1 if signed, 0 if unsigned */ - unsigned int msb; /* 1 if msb justified, 0 if lsb justified */ + unsigned int msb; /* 1 if msb justified, else lsb */ }; struct resamp { @@ -124,7 +124,7 @@ struct conv { int bfirst; /* bytes to skip at startup */ unsigned int bps; /* bytes per sample */ unsigned int shift; /* shift to get 32bit MSB */ - unsigned int bias; /* bias of unsigned samples */ + unsigned int bias; /* bias of unsigned samples */ int bnext; /* to reach the next byte */ int snext; /* to reach the next sample */ int nch;