diff options
author | Chris Robinson <[email protected]> | 2016-07-17 15:38:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-17 15:38:39 -0700 |
commit | dc8bbca7f1c6d11c4304f9c6e0977f4402593729 (patch) | |
tree | a8ecaf8cd9db60f1b18eaa30964d7516059f082b /Alc | |
parent | 84ca38ba957d90b6b864cd50cc313e4a7fe1386c (diff) |
Constify and use the correct size for an array
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/panning.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index 619b89c6..7d16afe2 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -694,7 +694,7 @@ static void InitHQPanning(ALCdevice *device, const AmbDecConf *conf, const ALuin } else { - static int map[MAX_AMBI_COEFFS] = { 0, 1, 3, 4, 8, 9, 15 }; + static const int map[MAX_AMBI2D_COEFFS] = { 0, 1, 3, 4, 8, 9, 15 }; count = (conf->ChanMask > 0x1ff) ? 7 : (conf->ChanMask > 0xf) ? 5 : 3; |