Diffstat (limited to 'core/multimedia/opieplayer/modplug/tables.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/modplug/tables.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/modplug/tables.cpp b/core/multimedia/opieplayer/modplug/tables.cpp index e7198b2..baf4517 100644 --- a/core/multimedia/opieplayer/modplug/tables.cpp +++ b/core/multimedia/opieplayer/modplug/tables.cpp | |||
@@ -1,35 +1,34 @@ | |||
1 | /* | 1 | /* |
2 | * This program is free software; you can redistribute it and modify it | 2 | * This program is free software; you can redistribute it and modify it |
3 | * under the terms of the GNU General Public License as published by the | 3 | * under the terms of the GNU General Public License as published by the |
4 | * Free Software Foundation; either version 2 of the license or (at your | 4 | * Free Software Foundation; either version 2 of the license or (at your |
5 | * option) any later version. | 5 | * option) any later version. |
6 | * | 6 | * |
7 | * Authors: Olivier Lapicque <olivierl@jps.net> | 7 | * Authors: Olivier Lapicque <olivierl@jps.net> |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include "stdafx.h" | 10 | #include "stdafx.h" |
11 | #include "sndfile.h" | ||
12 | 11 | ||
13 | #ifndef FASTSOUNDLIB | 12 | #ifndef FASTSOUNDLIB |
14 | //#pragma data_seg(".tables") | 13 | //#pragma data_seg(".tables") |
15 | #endif | 14 | #endif |
16 | 15 | ||
17 | extern const BYTE ImpulseTrackerPortaVolCmd[16]; | 16 | extern const BYTE ImpulseTrackerPortaVolCmd[16]; |
18 | const BYTE ImpulseTrackerPortaVolCmd[16] = | 17 | const BYTE ImpulseTrackerPortaVolCmd[16] = |
19 | { | 18 | { |
20 | 0x00, 0x01, 0x04, 0x08, 0x10, 0x20, 0x40, 0x60, | 19 | 0x00, 0x01, 0x04, 0x08, 0x10, 0x20, 0x40, 0x60, |
21 | 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF | 20 | 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF |
22 | }; | 21 | }; |
23 | 22 | ||
24 | // Period table for Protracker octaves 0-5: | 23 | // Period table for Protracker octaves 0-5: |
25 | extern const WORD ProTrackerPeriodTable[6*12]; | 24 | extern const WORD ProTrackerPeriodTable[6*12]; |
26 | const WORD ProTrackerPeriodTable[6*12] = | 25 | const WORD ProTrackerPeriodTable[6*12] = |
27 | { | 26 | { |
28 | 1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,907, | 27 | 1712,1616,1524,1440,1356,1280,1208,1140,1076,1016,960,907, |
29 | 856,808,762,720,678,640,604,570,538,508,480,453, | 28 | 856,808,762,720,678,640,604,570,538,508,480,453, |
30 | 428,404,381,360,339,320,302,285,269,254,240,226, | 29 | 428,404,381,360,339,320,302,285,269,254,240,226, |
31 | 214,202,190,180,170,160,151,143,135,127,120,113, | 30 | 214,202,190,180,170,160,151,143,135,127,120,113, |
32 | 107,101,95,90,85,80,75,71,67,63,60,56, | 31 | 107,101,95,90,85,80,75,71,67,63,60,56, |
33 | 53,50,47,45,42,40,37,35,33,31,30,28 | 32 | 53,50,47,45,42,40,37,35,33,31,30,28 |
34 | }; | 33 | }; |
35 | 34 | ||