Partially revert "Use a different method for HRTF mixing"
commit45d6bb58a4293c5b1ab229cea86e0ef24a2a084b
authorChris Robinson <chris.kcat@gmail.com>
Sun, 23 Nov 2014 18:49:54 +0000 (23 10:49 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sun, 23 Nov 2014 18:49:54 +0000 (23 10:49 -0800)
treeec03ad6eac812ae209f8d973687afa5b99616133
parentfc3608b381c0492674b4cfc1da0dcf5389ace722
Partially revert "Use a different method for HRTF mixing"

The sound localization with virtual channel mixing was just too poor, so while
it's more costly to do per-source HRTF mixing, it's unavoidable if you want
good localization.

This is only partially reverted because having the virtual channel is still
beneficial, particularly with B-Format rendering and effect mixing which
otherwise skip HRTF processing. As before, the number of virtual channels can
potentially be customized, specifying more or less channels depending on the
system's needs.
13 files changed:
Alc/ALu.c
Alc/hrtf.c
Alc/hrtf.h
Alc/mixer.c
Alc/mixer_c.c
Alc/mixer_defs.h
Alc/mixer_inc.c
Alc/mixer_neon.c
Alc/mixer_sse.c
Alc/panning.c
OpenAL32/Include/alMain.h
OpenAL32/Include/alu.h
OpenAL32/alSource.c