diff options
author | Chris Robinson <[email protected]> | 2016-03-30 02:25:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-30 02:25:59 -0700 |
commit | 2cd73a8d97da45eefbd4a0b7f0e82e2750519dca (patch) | |
tree | 64544d55041475a9850b5b3eaa1de4aaa9a71ee1 /Alc/panning.c | |
parent | df0d225dbffab6ee8793f8bfdeaaafea3bbf305c (diff) |
Allow dual-band decoders for basic rendering
Since the basic renderer does not do frequency-dependent processing, the high-
frequency matrix is used for panning.
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index b8ff3482..26c320ff 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -410,15 +410,9 @@ static bool LoadChannelSetup(ALCdevice *device) goto fail; } - /* TODO: Perhaps just use the high-frequency matrix, even if both are - * present? The recommendation seems to be to use an energy decode (rE, - * aka high-frequency) if frequency-dependent processing is not available. - */ if(conf.FreqBands != 1) - { - ERR("AmbDec layout file must be single-band (freq_bands = %u)\n", conf.FreqBands); - goto fail; - } + ERR("Basic renderer uses the high-frequency matrix as single-band (xover_freq = %.0fhz)\n", + conf.XOverFreq); if(!MakeSpeakerMap(device, &conf, speakermap)) goto fail; |