# HG changeset patch # User reimar # Date 1354485513 0 # Node ID 5e4973f679cf7b15d7cc74dcba8d7f5318532b21 # Parent f2a11c8695a4a0520b959672231b40552a30e877 Make lookup table static. diff -r f2a11c8695a4 -r 5e4973f679cf libao2/ao_dsound.c --- 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;