sad

simple audio daemon
git clone git://git.2f30.org/sad.git
Log | Files | Refs | LICENSE

commit 5e0e896f3a45a3351c55d36c60724db4804c3534
parent 178e378914c62891f84633233020ec13a9ae069f
Author: sin <sin@2f30.org>
Date:   Fri Jan  2 14:51:36 +0000

Simplify expression

Diffstat:
pcm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pcm.c b/pcm.c @@ -22,5 +22,5 @@ s16stereotomono(short *in, short *out, size_t nsamples) size_t i; for (i = 0; i < nsamples; i++) - out[i] = (in[i * 2] / 2) + (in[i * 2 + 1] / 2); + out[i] = in[i * 2] / 2 + in[i * 2 + 1] / 2; }