commit 5e0e896f3a45a3351c55d36c60724db4804c3534 parent 178e378914c62891f84633233020ec13a9ae069f Author: sin <sin@2f30.org> Date: Fri, 2 Jan 2015 14:51:36 +0000 Simplify expression Diffstat:
M | 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; }