compile with -g -Os
[libogc.git] / libmodplay / freqtab.c
blobdf1121770a1b703c62fe9644af4e1ae3f1429039
1 /*
2 Copyright (c) 2002,2003, Christian Nowak <chnowak@web.de>
3 All rights reserved.
5 Redistribution and use in source and binary forms, with or without modification, are
6 permitted provided that the following conditions are met:
8 - Redistributions of source code must retain the above copyright notice, this list of
9 conditions and the following disclaimer.
10 - Redistributions in binary form must reproduce the above copyright notice, this list
11 of conditions and the following disclaimer in the documentation and/or other
12 materials provided with the distribution.
13 - The names of the contributors may not be used to endorse or promote products derived
14 from this software without specific prior written permission.
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
17 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
19 THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
23 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
24 THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 #include "defines.h"
29 u16 freqtab[] = {
30 27392, 25856, 24384, 23040, 21696, 20480,19328,18240,17216,16256,15360,14496,
32 13696, 12928, 12192, 11520, 10848, 10240, 9664, 9120, 8606, 8128, 7680, 7248,
33 6848, 6464, 6096, 5760, 5424, 5120, 4832, 4560, 4304, 4064, 3840, 3624,
34 3424, 3232, 3048, 2880, 2712, 2560, 2416, 2280, 2152, 2032, 1920, 1812,
35 1712, 1616, 1525, 1440, 1357, 1281, 1209, 1141, 1077, 1017, 961, 907,
36 856, 808, 762, 720, 678, 640, 604, 570, 538, 508, 480, 453,
37 428, 404, 381, 360, 339, 320, 302, 285, 269, 254, 240, 226,
38 214, 202, 190, 180, 170, 160, 151, 143, 135, 127, 120, 113,
39 107, 101, 95, 90, 85, 80, 76, 71, 67, 64, 60, 57,
40 54, 51, 48, 45, 42, 40, 38, 36, 34, 32, 30, 28,
41 27, 25, 24, 22, 21, 20, 19, 18, 17, 16, 15, 14,
43 13, 13, 12, 11, 11, 10, 9, 9