diff options
author | Chris Robinson <[email protected]> | 2014-09-10 16:52:54 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-10 16:52:54 -0700 |
commit | 01adfde1994c5482305b5ce54ffd921988a84616 (patch) | |
tree | 1f0fc7b4c54e9b485993884512b90bfe37794138 /OpenAL32/Include | |
parent | 49cb2421c71e3ef22d81ddfc3eac65e464eaeb2d (diff) |
Invert the ChannelOffsets array
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 3089763f..d2bb6985 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -525,6 +525,7 @@ enum Channel { SideRight, MaxChannels, + InvalidChannel = MaxChannels }; @@ -645,7 +646,7 @@ struct ALCdevice_struct // Device flags ALuint Flags; - ALuint ChannelOffsets[MaxChannels]; + enum Channel ChannelName[MaxChannels]; enum Channel Speaker2Chan[MaxChannels]; ALfloat SpeakerAngle[MaxChannels]; |