Make mixing to mono a real mix, instead of just adding channels
commit36361cd4ab86484ae3ef6217ea853b41a66b3115
authorjlh <jlh@gmx.ch>
Sun, 6 Jul 2008 20:54:07 +0000 (6 22:54 +0200)
committerjlh <jlh@gmx.ch>
Sun, 6 Jul 2008 21:20:33 +0000 (6 23:20 +0200)
treeee42b39e1e669104b8fc4bbe4e87a4467aa79beb
parent66fdf9a2ff1b219e0d5e2ec81f29cf98154d344c
Make mixing to mono a real mix, instead of just adding channels

One could argue whether this is a better thing to do, because
usually in a normal call, only one person is talking at a time, so
clipping is unlikely to happen.  But averaging channels is the
normal way to mix to mono.

Also, don't use a separate buffer anymore, but mix directly into
bufferLocal.
call.cpp
call.h