diff options
| author | Warner Losh <imp@FreeBSD.org> | 2026-04-24 22:04:14 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2026-04-24 22:04:14 +0000 |
| commit | 45a12d8a2656bdf38e95f8e481c72aea0db6997f (patch) | |
| tree | d4717f7141603bbf52ababeb9ca88c8077c90270 /sys/dev/speaker | |
| parent | af864dd4a2df50021f8a48c218a1f5968dbbb0c1 (diff) | |
Diffstat (limited to 'sys/dev/speaker')
| -rw-r--r-- | sys/dev/speaker/spkr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c index d6ae47fdae99..1280def98e79 100644 --- a/sys/dev/speaker/spkr.c +++ b/sys/dev/speaker/spkr.c @@ -158,7 +158,7 @@ struct spkr_state { #define DENOM_MULT 2 /* denominator of dot multiplier */ /* letter to half-tone: A B C D E F G */ -static const int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; +static int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; /* * This is the American Standard A440 Equal-Tempered scale with frequencies @@ -166,7 +166,7 @@ static const int notetab[8] = {9, 11, 0, 2, 4, 5, 7}; * our octave 0 is standard octave 2. */ #define OCTAVE_NOTES 12 /* semitones per octave */ -static const int pitchtab[] = +static int pitchtab[] = { /* C C# D D# E F F# G G# A A# B*/ /* 0 */ 65, 69, 73, 78, 82, 87, 93, 98, 103, 110, 117, 123, |
