aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-13 03:03:26 -0800
committerChris Robinson <[email protected]>2018-02-13 03:03:26 -0800
commit59768674f1764706a2e59c4c314f80eca3b5de9d (patch)
treebdff2f2d959bfe6e1de6f6b625748997e7f8d42d /Alc/bformatdec.h
parent2cb49e51a0d270f2a650d0969a5370ac50125c3f (diff)
Use an alternate ambisonic HRTF decode layout
Similar to the previous, but includes the top and bottom HRTF responses. The higher-order decode (for the "basic" HRTF output) also now uses 2H1P mixed- order instead of 2H1V, which seems more stable.
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h
index c997c0b9..0011eb28 100644
--- a/Alc/bformatdec.h
+++ b/Alc/bformatdec.h
@@ -38,11 +38,11 @@ void bformatdec_upSample(struct BFormatDec *dec, ALfloat (*restrict OutBuffer)[B
/* Stand-alone first-order upsampler. Kept here because it shares some stuff
- * with bformatdec.
+ * with bformatdec. Assumes a periphonic (4-channel) input mix!
*/
struct AmbiUpsampler *ambiup_alloc();
void ambiup_free(struct AmbiUpsampler **ambiup);
-void ambiup_reset(struct AmbiUpsampler *ambiup, const ALCdevice *device);
+void ambiup_reset(struct AmbiUpsampler *ambiup, const ALCdevice *device, ALfloat w_scale, ALfloat xyz_scale);
void ambiup_process(struct AmbiUpsampler *ambiup, ALfloat (*restrict OutBuffer)[BUFFERSIZE], ALsizei OutChannels, const ALfloat (*restrict InSamples)[BUFFERSIZE], ALsizei SamplesToDo);