summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/hes_apu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/hes_apu.h')
-rw-r--r--apps/codecs/libgme/hes_apu.h8
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
34void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t ) ICODE_ATTR; 34void Osc_run_until( struct Hes_Osc* this, struct Blip_Synth* synth, blip_time_t );
35 35
36struct Hes_Apu { 36struct 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
48void Apu_reset( struct Hes_Apu* this ); 48void Apu_reset( struct Hes_Apu* this );
49 49
50void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right ) ICODE_ATTR; 50void Apu_osc_output( struct Hes_Apu* this, int index, struct Blip_Buffer* center, struct Blip_Buffer* left, struct Blip_Buffer* right );
51void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data ) ICODE_ATTR; 51void Apu_write_data( struct Hes_Apu* this, blip_time_t, int addr, int data );
52void Apu_end_frame( struct Hes_Apu* this, blip_time_t ) ICODE_ATTR; 52void Apu_end_frame( struct Hes_Apu* this, blip_time_t );
53 53
54static inline void Apu_volume( struct Hes_Apu* this, int v ) { Synth_volume( &this->synth, (v*9)/5 / osc_count / amp_range ); } 54static 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