Skip LFE with HRTF output

This commit is contained in:
Chris Robinson
2011-05-06 04:46:21 -07:00
parent 4198f3062c
commit 8c3d50be28
+9
View File
@@ -321,6 +321,9 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
const ALshort *hrtf_left, *hrtf_right;
if(c == 3) /* Skip LFE */
continue;
GetHrtfCoeffs(0.0, angles[c], &hrtf_left, &hrtf_right);
for(i = 0;i < HRTF_LENGTH;i++)
{
@@ -369,6 +372,9 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
const ALshort *hrtf_left, *hrtf_right;
if(c == 3) /* Skip LFE */
continue;
GetHrtfCoeffs(0.0, angles[c], &hrtf_left, &hrtf_right);
for(i = 0;i < HRTF_LENGTH;i++)
{
@@ -417,6 +423,9 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
const ALshort *hrtf_left, *hrtf_right;
if(c == 3) /* Skip LFE */
continue;
GetHrtfCoeffs(0.0, angles[c], &hrtf_left, &hrtf_right);
for(i = 0;i < HRTF_LENGTH;i++)
{