aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-05 03:10:58 -0700
committerChris Robinson <[email protected]>2017-05-05 04:54:07 -0700
commitd82e3be8f753763aaea29fd273d02afb5d7cc1ea (patch)
treecc3aff4c24e3f203d7b877854a9584b6bad9250d
parentaf997bf853c5991341658ed8ace5ae4cd6d350aa (diff)
Increase the HRTF transition to 128 samples
-rw-r--r--Alc/mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 6eaf4caf..71714c70 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -527,8 +527,8 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei
{
ALfloat gain;
- /* Fade between the coefficients over 64 samples. */
- fademix = mini(DstBufferSize, 64);
+ /* Fade between the coefficients over 128 samples. */
+ fademix = mini(DstBufferSize, 128);
/* The new coefficients need to fade in completely
* since they're replacing the old ones. To keep the