aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-12-11 15:08:50 -0800
committerChris Robinson <[email protected]>2020-12-11 15:08:50 -0800
commit1bb7f575f056f33d0957fe864cd62072982fc66e (patch)
tree2c775560b5dfd13b8cb41dfb5fd7f6e676efffce /alc/hrtf.h
parentbd08b9a5b52f4f6f056d428399f92df92f82c00a (diff)
Don't modify the IR size of loaded HRTFs
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r--alc/hrtf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/hrtf.h b/alc/hrtf.h
index 33a6021f..9bb7f65f 100644
--- a/alc/hrtf.h
+++ b/alc/hrtf.h
@@ -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);