changeset 35472:5e4973f679cf

Make lookup table static.
author reimar
date Sun, 02 Dec 2012 21:58:33 +0000
parents f2a11c8695a4
children d61151719945
files libao2/ao_dsound.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_dsound.c	Sun Dec 02 21:44:49 2012 +0000
+++ b/libao2/ao_dsound.c	Sun Dec 02 21:58:33 2012 +0000
@@ -329,7 +329,7 @@
   	    // it's this easy because buffer size and len are always
   	    // aligned to multiples of channels*bytespersample
   	    // there's probably some room for speed improvements here
-  	    const int chantable[6] = {0, 1, 4, 5, 2, 3}; // reorder "matrix"
+  	    static const int chantable[6] = {0, 1, 4, 5, 2, 3}; // reorder "matrix"
   	    int i, j;
   	    int numsamp,sampsize;