aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2006-10-27 22:47:53 +0000
committerMax Horn2006-10-27 22:47:53 +0000
commita4a83df8a1ab78cd964e6b1004cfe0425fbeadf5 (patch)
tree060e85e77efbc00026a2ad2d5fadd26c4c7621fc /sound
parentec653efc8bee4068046889456b1f25433dffe30f (diff)
downloadscummvm-rg350-a4a83df8a1ab78cd964e6b1004cfe0425fbeadf5.tar.gz
scummvm-rg350-a4a83df8a1ab78cd964e6b1004cfe0425fbeadf5.tar.bz2
scummvm-rg350-a4a83df8a1ab78cd964e6b1004cfe0425fbeadf5.zip
cleanup
svn-id: r24537
Diffstat (limited to 'sound')
-rw-r--r--sound/softsynth/adlib.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/softsynth/adlib.cpp b/sound/softsynth/adlib.cpp
index 32e00fc41c..438441d634 100644
--- a/sound/softsynth/adlib.cpp
+++ b/sound/softsynth/adlib.cpp
@@ -234,14 +234,14 @@ static const AdlibSetParams adlib_setparam_table[] = {
{0xC0, 1, 14, 0} // feedback
};
-const byte param_table_1[16] = {
+static const byte param_table_1[16] = {
29, 28, 27, 0,
3, 4, 7, 8,
13, 16, 17, 20,
21, 30, 31, 0
};
-const uint16 maxval_table[16] = {
+static const uint16 maxval_table[16] = {
0x2FF, 0x1F, 0x7, 0x3F,
0x0F, 0x0F, 0x0F, 0x3,
0x3F, 0x0F, 0x0F, 0x0F,
@@ -473,6 +473,7 @@ static const byte gm_percussion_lookup[128] = {
};
static byte lookup_table[64][32];
+
static const byte volume_table[] = {
0, 4, 7, 11,
13, 16, 18, 20,