aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-09-10 17:53:01 -0700
committerChris Robinson <[email protected]>2014-09-10 17:53:01 -0700
commit4e66224d6c14cffa2d6108bd0845f2dc35baec89 (patch)
treea617c215c32692d62cc3220618fedce5cc148868 /OpenAL32/Include
parent01adfde1994c5482305b5ce54ffd921988a84616 (diff)
Combine some fields into a struct
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h9
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;