summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/sms_fm_apu.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/sms_fm_apu.h')
-rw-r--r--apps/codecs/libgme/sms_fm_apu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/libgme/sms_fm_apu.h b/apps/codecs/libgme/sms_fm_apu.h
index cf8cd6c5cb..00bc2b409c 100644
--- a/apps/codecs/libgme/sms_fm_apu.h
+++ b/apps/codecs/libgme/sms_fm_apu.h
@@ -25,19 +25,19 @@ void Fm_apu_create( struct Sms_Fm_Apu* this );
25 25
26static inline bool Fm_apu_supported( void ) { return Ym2413_supported(); } 26static inline bool Fm_apu_supported( void ) { return Ym2413_supported(); }
27blargg_err_t Fm_apu_init( struct Sms_Fm_Apu* this, int clock_rate, int sample_rate ); 27blargg_err_t Fm_apu_init( struct Sms_Fm_Apu* this, int clock_rate, int sample_rate );
28 28
29static inline void Fm_apu_set_output( struct Sms_Fm_Apu* this, struct Blip_Buffer* b ) 29static inline void Fm_apu_set_output( struct Sms_Fm_Apu* this, struct Blip_Buffer* b )
30{ 30{
31 this->output_ = b; 31 this->output_ = b;
32} 32}
33 33
34static inline void Fm_apu_volume( struct Sms_Fm_Apu* this, int v ) { Synth_volume( &this->synth, (v*2) / 5 / 4096 ); } 34static inline void Fm_apu_volume( struct Sms_Fm_Apu* this, int v ) { Synth_volume( &this->synth, (v*2) / 5 / 4096 ); }
35 35
36void Fm_apu_reset( struct Sms_Fm_Apu* this ); 36void Fm_apu_reset( struct Sms_Fm_Apu* this );
37 37
38static inline void Fm_apu_write_addr( struct Sms_Fm_Apu* this, int data ) { this->addr = data; } 38static inline void Fm_apu_write_addr( struct Sms_Fm_Apu* this, int data ) { this->addr = data; }
39void Fm_apu_write_data( struct Sms_Fm_Apu* this, blip_time_t, int data ); 39void Fm_apu_write_data( struct Sms_Fm_Apu* this, blip_time_t, int data );
40 40
41void Fm_apu_end_frame( struct Sms_Fm_Apu* this, blip_time_t t ); 41void Fm_apu_end_frame( struct Sms_Fm_Apu* this, blip_time_t t );
42 42
43#endif 43#endif