diff options
Diffstat (limited to 'apps/codecs/libgme/hes_apu.c')
-rw-r--r-- | apps/codecs/libgme/hes_apu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libgme/hes_apu.c b/apps/codecs/libgme/hes_apu.c index a3af054548..2a831426f5 100644 --- a/apps/codecs/libgme/hes_apu.c +++ b/apps/codecs/libgme/hes_apu.c | |||
@@ -18,10 +18,10 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ | |||
18 | 18 | ||
19 | enum { center_waves = 1 }; // reduces asymmetry and clamping when starting notes | 19 | enum { center_waves = 1 }; // reduces asymmetry and clamping when starting notes |
20 | 20 | ||
21 | static void Apu_balance_changed( struct Hes_Apu* this, struct Hes_Osc* osc ) ICODE_ATTR; | 21 | static void Apu_balance_changed( struct Hes_Apu* this, struct Hes_Osc* osc ); |
22 | static void Apu_balance_changed( struct Hes_Apu* this, struct Hes_Osc* osc ) | 22 | static void Apu_balance_changed( struct Hes_Apu* this, struct Hes_Osc* osc ) |
23 | { | 23 | { |
24 | static short const log_table [32] ICONST_ATTR = { // ~1.5 db per step | 24 | static short const log_table [32] = { // ~1.5 db per step |
25 | #define ENTRY( factor ) (short) (factor * amp_range / 31.0 + 0.5) | 25 | #define ENTRY( factor ) (short) (factor * amp_range / 31.0 + 0.5) |
26 | ENTRY( 0.000000 ),ENTRY( 0.005524 ),ENTRY( 0.006570 ),ENTRY( 0.007813 ), | 26 | ENTRY( 0.000000 ),ENTRY( 0.005524 ),ENTRY( 0.006570 ),ENTRY( 0.007813 ), |
27 | ENTRY( 0.009291 ),ENTRY( 0.011049 ),ENTRY( 0.013139 ),ENTRY( 0.015625 ), | 27 | ENTRY( 0.009291 ),ENTRY( 0.011049 ),ENTRY( 0.013139 ),ENTRY( 0.015625 ), |