diff options
Diffstat (limited to 'usr.bin/sndiod/dsp.c')
-rw-r--r-- | usr.bin/sndiod/dsp.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/sndiod/dsp.c b/usr.bin/sndiod/dsp.c index 1403230f38e..2373eaf4260 100644 --- a/usr.bin/sndiod/dsp.c +++ b/usr.bin/sndiod/dsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsp.c,v 1.8 2014/10/12 21:52:27 ratchov Exp $ */ +/* $OpenBSD: dsp.c,v 1.9 2016/01/08 16:17:31 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -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; @@ -446,7 +447,7 @@ enc_init(struct conv *p, struct aparams *par, int nch) p->bias = (1U << 31) >> p->shift; } else { p->bias = 0; - } + } if (!par->le) { p->bfirst = par->bps - 1; p->bnext = -1; @@ -539,7 +540,7 @@ dec_init(struct conv *p, struct aparams *par, int nch) p->bias = (1U << 31) >> p->shift; } else { p->bias = 0; - } + } if (par->le) { p->bfirst = par->bps - 1; p->bnext = -1; |