/*1* Copyright (c) by Jaroslav Kysela <[email protected]>2*3*4* This program is free software; you can redistribute it and/or modify5* it under the terms of the GNU General Public License as published by6* the Free Software Foundation; either version 2 of the License, or7* (at your option) any later version.8*9* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*14* You should have received a copy of the GNU General Public License15* along with this program; if not, write to the Free Software16* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA17*18*/1920#define SNDRV_GF1_SCALE_TABLE_SIZE 12821#define SNDRV_GF1_ATTEN_TABLE_SIZE 1282223#ifdef __GUS_TABLES_ALLOC__2425#if 02627unsigned int snd_gf1_scale_table[SNDRV_GF1_SCALE_TABLE_SIZE] =28{298372, 8870, 9397, 9956, 10548, 11175,3011840, 12544, 13290, 14080, 14917, 15804,3116744, 17740, 18795, 19912, 21096, 22351,3223680, 25088, 26580, 28160, 29834, 31609,3333488, 35479, 37589, 39824, 42192, 44701,3447359, 50175, 53159, 56320, 59669, 63217,3566976, 70959, 75178, 79649, 84385, 89402,3694719, 100351, 106318, 112640, 119338, 126434,37133952, 141918, 150356, 159297, 168769, 178805,38189437, 200702, 212636, 225280, 238676, 252868,39267905, 283835, 300713, 318594, 337539, 357610,40378874, 401403, 425272, 450560, 477352, 505737,41535809, 567670, 601425, 637188, 675077, 715219,42757749, 802807, 850544, 901120, 954703, 1011473,431071618, 1135340, 1202851, 1274376, 1350154, 1430439,441515497, 1605613, 1701088, 1802240, 1909407, 2022946,452143237, 2270680, 2405702, 2548752, 2700309, 2860878,463030994, 3211227, 3402176, 3604480, 3818814, 4045892,474286473, 4541360, 4811404, 5097505, 5400618, 5721755,486061989, 6422453, 6804352, 7208960, 7637627, 8091784,498572947, 9082720, 9622807, 10195009, 10801236, 11443511,5012123977, 1284490651};5253#endif /* 0 */5455unsigned short snd_gf1_atten_table[SNDRV_GF1_ATTEN_TABLE_SIZE] = {564095 /* 0 */,1789 /* 1 */,1533 /* 2 */,1383 /* 3 */,1277 /* 4 */,571195 /* 5 */,1127 /* 6 */,1070 /* 7 */,1021 /* 8 */,978 /* 9 */,58939 /* 10 */,903 /* 11 */,871 /* 12 */,842 /* 13 */,814 /* 14 */,59789 /* 15 */,765 /* 16 */,743 /* 17 */,722 /* 18 */,702 /* 19 */,60683 /* 20 */,665 /* 21 */,647 /* 22 */,631 /* 23 */,615 /* 24 */,61600 /* 25 */,586 /* 26 */,572 /* 27 */,558 /* 28 */,545 /* 29 */,62533 /* 30 */,521 /* 31 */,509 /* 32 */,498 /* 33 */,487 /* 34 */,63476 /* 35 */,466 /* 36 */,455 /* 37 */,446 /* 38 */,436 /* 39 */,64427 /* 40 */,418 /* 41 */,409 /* 42 */,400 /* 43 */,391 /* 44 */,65383 /* 45 */,375 /* 46 */,367 /* 47 */,359 /* 48 */,352 /* 49 */,66344 /* 50 */,337 /* 51 */,330 /* 52 */,323 /* 53 */,316 /* 54 */,67309 /* 55 */,302 /* 56 */,296 /* 57 */,289 /* 58 */,283 /* 59 */,68277 /* 60 */,271 /* 61 */,265 /* 62 */,259 /* 63 */,253 /* 64 */,69247 /* 65 */,242 /* 66 */,236 /* 67 */,231 /* 68 */,225 /* 69 */,70220 /* 70 */,215 /* 71 */,210 /* 72 */,205 /* 73 */,199 /* 74 */,71195 /* 75 */,190 /* 76 */,185 /* 77 */,180 /* 78 */,175 /* 79 */,72171 /* 80 */,166 /* 81 */,162 /* 82 */,157 /* 83 */,153 /* 84 */,73148 /* 85 */,144 /* 86 */,140 /* 87 */,135 /* 88 */,131 /* 89 */,74127 /* 90 */,123 /* 91 */,119 /* 92 */,115 /* 93 */,111 /* 94 */,75107 /* 95 */,103 /* 96 */,100 /* 97 */,96 /* 98 */,92 /* 99 */,7688 /* 100 */,85 /* 101 */,81 /* 102 */,77 /* 103 */,74 /* 104 */,7770 /* 105 */,67 /* 106 */,63 /* 107 */,60 /* 108 */,56 /* 109 */,7853 /* 110 */,50 /* 111 */,46 /* 112 */,43 /* 113 */,40 /* 114 */,7937 /* 115 */,33 /* 116 */,30 /* 117 */,27 /* 118 */,24 /* 119 */,8021 /* 120 */,18 /* 121 */,15 /* 122 */,12 /* 123 */,9 /* 124 */,816 /* 125 */,3 /* 126 */,0 /* 127 */,82};8384#else8586extern unsigned int snd_gf1_scale_table[SNDRV_GF1_SCALE_TABLE_SIZE];87extern unsigned short snd_gf1_atten_table[SNDRV_GF1_ATTEN_TABLE_SIZE];8889#endif909192