Report the real ambisonic order set for HRTF rendering

This commit is contained in:
Chris Robinson 2019-10-24 14:33:43 -07:00
parent f40e69f9e3
commit 7bed2fe7cc

View File

@ -627,11 +627,12 @@ void InitHrtfPanning(ALCdevice *device)
ambi_order = iter->order;
}
}
TRACE("%s HRTF rendering enabled, using \"%s\"\n",
(device->mRenderMode == HrtfRender) ? "Full" :
(ambi_order >= 3) ? "Third-Order" :
(ambi_order == 2) ? "Second-Order" :
(ambi_order == 1) ? "First-Order" : "Unknown",
TRACE("%u%s order %sHRTF rendering enabled, using \"%s\"\n", ambi_order,
(((ambi_order%100)/10) == 1) ? "th" :
((ambi_order%10) == 1) ? "st" :
((ambi_order%10) == 2) ? "nd" :
((ambi_order%10) == 3) ? "rd" : "th",
(device->mRenderMode == HrtfRender) ? "+ Full " : "",
device->HrtfName.c_str());
if(ambi_order >= 3)