diff options
author | Chris Robinson <[email protected]> | 2020-12-26 05:23:08 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-26 05:23:08 -0800 |
commit | 8a86ec8ac5cb9ae1f766bd33893bf2e6729b1025 (patch) | |
tree | 3b6a0463c5d9fb48e0bb87f4317d16102ae06b8b /alc/hrtf.h | |
parent | 5f233a2c24de58fde98e08ad8acb6cfe1803d716 (diff) |
Add a crossover frequency field for the device
Used when upsampling low-order ambisonic signals to higher order. Rather than a
hardcoded 400hz, it ensures a consistent crossover point when an ambdec
configuration is used. It can also allow for an alsoft config option.
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r-- | alc/hrtf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ struct DirectHrtfState { */ void build(const HrtfStore *Hrtf, const uint irSize, const al::span<const AngularPoint> AmbiPoints, const float (*AmbiMatrix)[MaxAmbiChannels], - const al::span<const float,MaxAmbiOrder+1> AmbiOrderHFGain); + const float XOverFreq, const al::span<const float,MaxAmbiOrder+1> AmbiOrderHFGain); static std::unique_ptr<DirectHrtfState> Create(size_t num_chans); |