diff options
Diffstat (limited to 'apps/codecs/libgme/hes_apu.h')
-rw-r--r-- | apps/codecs/libgme/hes_apu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libgme/hes_apu.h b/apps/codecs/libgme/hes_apu.h index fcdcbab786..8f8a525108 100644 --- a/apps/codecs/libgme/hes_apu.h +++ b/apps/codecs/libgme/hes_apu.h | |||
@@ -31,7 +31,7 @@ struct Hes_Osc | |||
31 | unsigned char control; | 31 | unsigned char control; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t ) ICODE_ATTR; | 34 | void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t ); |
35 | 35 | ||
36 | struct Hes_Apu { | 36 | struct Hes_Apu { |
37 | struct Hes_Osc oscs [osc_count]; | 37 | struct Hes_Osc oscs [osc_count]; |
@@ -47,9 +47,9 @@ void Apu_init( struct Hes_Apu* this ); | |||
47 | // Reset HES apu couns chip | 47 | // Reset HES apu couns chip |
48 | void Apu_reset( struct Hes_Apu* this ); | 48 | void Apu_reset( struct Hes_Apu* this ); |
49 | 49 | ||
50 | void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right ) ICODE_ATTR; | 50 | void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right ); |
51 | void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data ) ICODE_ATTR; | 51 | void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data ); |
52 | void Apu_end_frame( struct Hes_Apu* this, blip_time_t ) ICODE_ATTR; | 52 | void Apu_end_frame( struct Hes_Apu* this, blip_time_t ); |
53 | 53 | ||
54 | static inline void Apu_volume( struct Hes_Apu* this, int v ) { Synth_volume( &this->synth, (v*9)/5 / osc_count / amp_range ); } | 54 | static inline void Apu_volume( struct Hes_Apu* this, int v ) { Synth_volume( &this->synth, (v*9)/5 / osc_count / amp_range ); } |
55 | #endif | 55 | #endif |