Skip to content

Commit

Permalink
automatic loudness gain for all HRTFs on load re-added (was removed i…
Browse files Browse the repository at this point in the history
…n 1.4.0)
  • Loading branch information
petibub committed Jan 29, 2022
1 parent 00d163a commit 1e5ef49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NativeCode/Plugin_Spatializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Please note that this will only work on Unity 5.2 or higher.

#define SOFALIZER_VERSION "1.4.2-dev" // SOFAlizer version
#define SOFALIZER_VERSION "1.4.2" // SOFAlizer version

#include "AudioPluginUtil.h"
#include "mysofa.h" // include libmysofa by, Copyright (c) 2016-2021, Symonics GmbH, Christian Hoene
Expand Down Expand Up @@ -149,7 +149,7 @@ namespace Spatializer
}

// Scale HRTFs to have a normalized amplitude relative to the frontal position
// mysofa_loudness(sharedData.mysofa[i]);
mysofa_loudness(sharedData.mysofa[i]);

// Determine the final length of each IR
unsigned int length; // length of the IRs to be copied
Expand Down

0 comments on commit 1e5ef49

Please sign in to comment.