From e808ee138e083c24b68f4ac942d32924ad68aef0 Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Fri, 28 Jul 2006 22:27:56 +0100 Subject: [PATCH] --- yaml --- r: 34856 b: refs/heads/master c: 7012b2dac71988f61b520b33c70c63be372b5994 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/emu10k1/emufx.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 457039ed0380..09191b533189 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4e195a7b78618c89b06547f3140e67a69ec23272 +refs/heads/master: 7012b2dac71988f61b520b33c70c63be372b5994 diff --git a/trunk/sound/pci/emu10k1/emufx.c b/trunk/sound/pci/emu10k1/emufx.c index 00fc904c251d..13cd6ce89811 100644 --- a/trunk/sound/pci/emu10k1/emufx.c +++ b/trunk/sound/pci/emu10k1/emufx.c @@ -267,6 +267,7 @@ static const u32 treble_table[41][5] = { { 0x37c4448b, 0xa45ef51d, 0x262f3267, 0x081e36dc, 0xfd8f5d14 } }; +/* dB gain = (float) 20 * log10( float(db_table_value) / 0x8000000 ) */ static const u32 db_table[101] = { 0x00000000, 0x01571f82, 0x01674b41, 0x01783a1b, 0x0189f540, 0x019c8651, 0x01aff763, 0x01c45306, 0x01d9a446, 0x01eff6b8,