aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/tuning.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/tuning.h')
-rw-r--r--sound/oss/tuning.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/oss/tuning.h b/sound/oss/tuning.h
index 858e1fe6c618..a73e3dd39f9a 100644
--- a/sound/oss/tuning.h
+++ b/sound/oss/tuning.h
@@ -1,13 +1,11 @@
1#ifdef SEQUENCER_C 1static unsigned short semitone_tuning[24] =
2
3unsigned short semitone_tuning[24] =
4{ 2{
5/* 0 */ 10000, 10595, 11225, 11892, 12599, 13348, 14142, 14983, 3/* 0 */ 10000, 10595, 11225, 11892, 12599, 13348, 14142, 14983,
6/* 8 */ 15874, 16818, 17818, 18877, 20000, 21189, 22449, 23784, 4/* 8 */ 15874, 16818, 17818, 18877, 20000, 21189, 22449, 23784,
7/* 16 */ 25198, 26697, 28284, 29966, 31748, 33636, 35636, 37755 5/* 16 */ 25198, 26697, 28284, 29966, 31748, 33636, 35636, 37755
8}; 6};
9 7
10unsigned short cent_tuning[100] = 8static unsigned short cent_tuning[100] =
11{ 9{
12/* 0 */ 10000, 10006, 10012, 10017, 10023, 10029, 10035, 10041, 10/* 0 */ 10000, 10006, 10012, 10017, 10023, 10029, 10035, 10041,
13/* 8 */ 10046, 10052, 10058, 10064, 10070, 10075, 10081, 10087, 11/* 8 */ 10046, 10052, 10058, 10064, 10070, 10075, 10081, 10087,
@@ -23,7 +21,3 @@ unsigned short cent_tuning[100] =
23/* 88 */ 10521, 10528, 10534, 10540, 10546, 10552, 10558, 10564, 21/* 88 */ 10521, 10528, 10534, 10540, 10546, 10552, 10558, 10564,
24/* 96 */ 10570, 10576, 10582, 10589 22/* 96 */ 10570, 10576, 10582, 10589
25}; 23};
26#else
27extern unsigned short semitone_tuning[24];
28extern unsigned short cent_tuning[100];
29#endif