diff options
author | Simon Howard | 2008-01-24 19:10:49 +0000 |
---|---|---|
committer | Simon Howard | 2008-01-24 19:10:49 +0000 |
commit | 7cd5bca900bccbab5ed785dabc595c073abb2c39 (patch) | |
tree | a1ec9d8f178321e7826c23edaf66fce30d03bd42 /src/i_pcsound.c | |
parent | aedc1c2d8c8eecfc609b291b9fe2983e03a744fe (diff) | |
download | chocolate-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.c | 2 |
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, |