diff options
author | Chris Robinson <[email protected]> | 2016-08-24 00:25:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-24 00:25:28 -0700 |
commit | 8bf4a22876c30c16db71cd9063b9788c5e6a1aa8 (patch) | |
tree | 56d971457f23a819f8a7d051ca5d8925e3bcfe2f /OpenAL32 | |
parent | e77de8b12a01bc9385ec0b7b528274b799bac81e (diff) |
Combine related members into a struct
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index b173c515..56bfa0b0 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -593,16 +593,18 @@ struct ALCdevice_struct UIntMap FilterMap; /* HRTF filter tables */ - vector_HrtfEntry Hrtf_List; - al_string Hrtf_Name; - const struct Hrtf *Hrtf; - ALCenum Hrtf_Status; - - /* HRTF filter state for dry buffer content */ - alignas(16) ALfloat Hrtf_Values[4][HRIR_LENGTH][2]; - alignas(16) ALfloat Hrtf_Coeffs[4][HRIR_LENGTH][2]; - ALuint Hrtf_Offset; - ALuint Hrtf_IrSize; + struct { + vector_HrtfEntry List; + al_string Name; + ALCenum Status; + const struct Hrtf *Handle; + + /* HRTF filter state for dry buffer content */ + alignas(16) ALfloat Values[4][HRIR_LENGTH][2]; + alignas(16) ALfloat Coeffs[4][HRIR_LENGTH][2]; + ALuint Offset; + ALuint IrSize; + } Hrtf; /* UHJ encoder state */ struct Uhj2Encoder *Uhj_Encoder; |