aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-23 16:00:07 -0700
committerChris Robinson <[email protected]>2016-03-23 16:00:07 -0700
commit3646cf817cae87bba2ba45b8414e3e07ac87c7b4 (patch)
tree1b7ffb5cf3ffa6a68aa7956c7e2036fd68eba410
parent2847590d454f4fa51ec2561d47d2872bf01997d5 (diff)
Trace the HQ decoder order
-rw-r--r--Alc/panning.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 8d66df04..2bbdbaed 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -643,7 +643,10 @@ ALvoid aluInitPanning(ALCdevice *device)
&device->Dry.NumChannels, AL_FALSE);
device->Dry.AmbiScale = ambiscale;
- TRACE("Enabling %s-band ambisonic decoder\n", (conf.FreqBands==1)?"single":"dual");
+ TRACE("Enabling %s-band %s-order ambisonic decoder\n",
+ (conf.FreqBands == 1) ? "single" : "dual",
+ (conf.ChanMask > 0x1ff) ? "third" : (conf.ChanMask > 0xf) ? "second" : "first"
+ );
bformatdec_reset(device->AmbiDecoder, &conf, count, device->Frequency, speakermap);
ambdec_deinit(&conf);