summaryrefslogtreecommitdiff
path: root/src/i_pcsound.c
diff options
context:
space:
mode:
authorSimon Howard2008-01-24 19:10:49 +0000
committerSimon Howard2008-01-24 19:10:49 +0000
commit7cd5bca900bccbab5ed785dabc595c073abb2c39 (patch)
treea1ec9d8f178321e7826c23edaf66fce30d03bd42 /src/i_pcsound.c
parentaedc1c2d8c8eecfc609b291b9fe2983e03a744fe (diff)
downloadchocolate-doom-7cd5bca900bccbab5ed785dabc595c073abb2c39.tar.gz
chocolate-doom-7cd5bca900bccbab5ed785dabc595c073abb2c39.tar.bz2
chocolate-doom-7cd5bca900bccbab5ed785dabc595c073abb2c39.zip
Make lookup tables const where possible.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1015
Diffstat (limited to 'src/i_pcsound.c')
-rw-r--r--src/i_pcsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i_pcsound.c b/src/i_pcsound.c
index 2f66f33a..0bf0d723 100644
--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -46,7 +46,7 @@ static uint8_t *current_sound_pos = NULL;
static unsigned int current_sound_remaining = 0;
static int current_sound_handle = 0;
-static float frequencies[] = {
+static const float frequencies[] = {
0, 175.00, 180.02, 185.01, 190.02, 196.02, 202.02, 208.01, 214.02, 220.02,
226.02, 233.04, 240.02, 247.03, 254.03, 262.00, 269.03, 277.03, 285.04,
294.03, 302.07, 311.04, 320.05, 330.06, 339.06, 349.08, 359.06, 370.09,