From 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:46:07 +0000 Subject: [PATCH] add audio --- kernel/sound/drivers/opl4/opl4_synth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sound/drivers/opl4/opl4_synth.c b/kernel/sound/drivers/opl4/opl4_synth.c index 7bc1e58..34e2bd5 100644 --- a/kernel/sound/drivers/opl4/opl4_synth.c +++ b/kernel/sound/drivers/opl4/opl4_synth.c @@ -248,7 +248,7 @@ * Attenuation according to GM recommendations, in -0.375 dB units. * table[v] = 40 * log(v / 127) / -0.375 */ -static unsigned char snd_opl4_volume_table[128] = { +static const unsigned char snd_opl4_volume_table[128] = { 255,224,192,173,160,150,141,134, 128,122,117,113,109,105,102, 99, 96, 93, 90, 88, 85, 83, 81, 79, -- Gitblit v1.6.2