summaryrefslogtreecommitdiff
path: root/src/i_pcsound.c
diff options
context:
space:
mode:
authorSimon Howard2008-02-28 20:04:10 +0000
committerSimon Howard2008-02-28 20:04:10 +0000
commit9935860426430cae26f58c0d066c8fb72cca2c3e (patch)
tree883e1c2005434c6f7a171866f326c407184c50e8 /src/i_pcsound.c
parentc59c78f9a84567ddb77f4f89dd359c96ba4d29f3 (diff)
downloadchocolate-doom-9935860426430cae26f58c0d066c8fb72cca2c3e.tar.gz
chocolate-doom-9935860426430cae26f58c0d066c8fb72cca2c3e.tar.bz2
chocolate-doom-9935860426430cae26f58c0d066c8fb72cca2c3e.zip
Add fixes for MSVC warnings (thanks entryway).
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1095
Diffstat (limited to 'src/i_pcsound.c')
-rw-r--r--src/i_pcsound.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/i_pcsound.c b/src/i_pcsound.c
index 0bf0d723..c41ba022 100644
--- a/src/i_pcsound.c
+++ b/src/i_pcsound.c
@@ -47,17 +47,17 @@ static unsigned int current_sound_remaining = 0;
static int current_sound_handle = 0;
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,
- 381.08, 392.10, 403.10, 415.01, 427.05, 440.12, 453.16, 466.08, 480.15,
- 494.07, 508.16, 523.09, 539.16, 554.19, 571.17, 587.19, 604.14, 622.09,
- 640.11, 659.21, 679.10, 698.17, 719.21, 740.18, 762.41, 784.47, 807.29,
- 831.48, 855.32, 880.57, 906.67, 932.17, 960.69, 988.55, 1017.20, 1046.64,
- 1077.85, 1109.93, 1141.79, 1175.54, 1210.12, 1244.19, 1281.61, 1318.43,
- 1357.42, 1397.16, 1439.30, 1480.37, 1523.85, 1569.97, 1614.58, 1661.81,
- 1711.87, 1762.45, 1813.34, 1864.34, 1921.38, 1975.46, 2036.14, 2093.29,
- 2157.64, 2217.80, 2285.78, 2353.41, 2420.24, 2490.98, 2565.97, 2639.77,
+ 0.0f, 175.00f, 180.02f, 185.01f, 190.02f, 196.02f, 202.02f, 208.01f, 214.02f, 220.02f,
+ 226.02f, 233.04f, 240.02f, 247.03f, 254.03f, 262.00f, 269.03f, 277.03f, 285.04f,
+ 294.03f, 302.07f, 311.04f, 320.05f, 330.06f, 339.06f, 349.08f, 359.06f, 370.09f,
+ 381.08f, 392.10f, 403.10f, 415.01f, 427.05f, 440.12f, 453.16f, 466.08f, 480.15f,
+ 494.07f, 508.16f, 523.09f, 539.16f, 554.19f, 571.17f, 587.19f, 604.14f, 622.09f,
+ 640.11f, 659.21f, 679.10f, 698.17f, 719.21f, 740.18f, 762.41f, 784.47f, 807.29f,
+ 831.48f, 855.32f, 880.57f, 906.67f, 932.17f, 960.69f, 988.55f, 1017.20f, 1046.64f,
+ 1077.85f, 1109.93f, 1141.79f, 1175.54f, 1210.12f, 1244.19f, 1281.61f, 1318.43f,
+ 1357.42f, 1397.16f, 1439.30f, 1480.37f, 1523.85f, 1569.97f, 1614.58f, 1661.81f,
+ 1711.87f, 1762.45f, 1813.34f, 1864.34f, 1921.38f, 1975.46f, 2036.14f, 2093.29f,
+ 2157.64f, 2217.80f, 2285.78f, 2353.41f, 2420.24f, 2490.98f, 2565.97f, 2639.77f,
};
static void PCSCallbackFunc(int *duration, int *freq)