aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
committerChris Robinson <[email protected]>2019-09-13 09:38:35 -0700
commit42548885767fa1492886d87d17592e79bc00924e (patch)
tree0d542f58193290fed38d01bb64f721fdfb9d5b9f /alc/hrtf.h
parentdf306b55245de7a281d695046e74717e4cdd511f (diff)
Make IrSize unsigned
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 85614f2e..92b3fd96 100644
--- a/alc/hrtf.h
+++ b/alc/hrtf.h
@@ -29,7 +29,7 @@ struct HrtfEntry {
RefCount ref;
ALuint sampleRate;
- ALsizei irSize;
+ ALuint irSize;
struct Field {
ALfloat distance;
@@ -38,7 +38,7 @@ struct HrtfEntry {
/* NOTE: Fields are stored *backwards*. field[0] is the farthest field, and
* field[fdCount-1] is the nearest.
*/
- ALsizei fdCount;
+ ALuint fdCount;
const Field *field;
struct Elevation {
@@ -78,7 +78,7 @@ struct HrtfFilter {
struct DirectHrtfState {
/* HRTF filter state for dry buffer content */
- ALsizei IrSize{0};
+ ALuint IrSize{0};
alignas(16) HrirArray Values;
al::FlexArray<HrirArray,16> Coeffs;