diff options
author | Chris Robinson <[email protected]> | 2020-12-11 15:08:50 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-11 15:08:50 -0800 |
commit | 1bb7f575f056f33d0957fe864cd62072982fc66e (patch) | |
tree | 2c775560b5dfd13b8cb41dfb5fd7f6e676efffce /alc/hrtf.h | |
parent | bd08b9a5b52f4f6f056d428399f92df92f82c00a (diff) |
Don't modify the IR size of loaded HRTFs
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r-- | alc/hrtf.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -101,8 +101,8 @@ struct DirectHrtfState { * high-frequency gains for the decoder. The calculated impulse responses * are ordered and scaled according to the matrix input. */ - void build(const HrtfStore *Hrtf, const al::span<const AngularPoint> AmbiPoints, - const float (*AmbiMatrix)[MaxAmbiChannels], + 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); static std::unique_ptr<DirectHrtfState> Create(size_t num_chans); @@ -112,7 +112,7 @@ struct DirectHrtfState { al::vector<std::string> EnumerateHrtf(const char *devname); -HrtfStorePtr GetLoadedHrtf(const std::string &name, const char *devname, const uint devrate); +HrtfStorePtr GetLoadedHrtf(const std::string &name, const uint devrate); void GetHrtfCoeffs(const HrtfStore *Hrtf, float elevation, float azimuth, float distance, float spread, HrirArray &coeffs, const al::span<uint,2> delays); |