diff options
author | Chris Robinson <[email protected]> | 2014-09-10 17:53:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-10 17:53:01 -0700 |
commit | 4e66224d6c14cffa2d6108bd0845f2dc35baec89 (patch) | |
tree | a617c215c32692d62cc3220618fedce5cc148868 /OpenAL32/Include | |
parent | 01adfde1994c5482305b5ce54ffd921988a84616 (diff) |
Combine some fields into a struct
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index d2bb6985..805a6f42 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -648,9 +648,12 @@ struct ALCdevice_struct enum Channel ChannelName[MaxChannels]; - enum Channel Speaker2Chan[MaxChannels]; - ALfloat SpeakerAngle[MaxChannels]; - ALuint NumChan; + /* This only counts positional speakers, i.e. not including LFE. */ + struct { + enum Channel ChanName; + ALfloat Angle; + } Speaker[MaxChannels]; + ALuint NumSpeakers; ALuint64 ClockBase; ALuint SamplesDone; |