diff options
Diffstat (limited to 'apps/codecs/libgme/hes_apu_adpcm.h')
-rw-r--r-- | apps/codecs/libgme/hes_apu_adpcm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/libgme/hes_apu_adpcm.h b/apps/codecs/libgme/hes_apu_adpcm.h index d8d024ee34..4a2afb3e2a 100644 --- a/apps/codecs/libgme/hes_apu_adpcm.h +++ b/apps/codecs/libgme/hes_apu_adpcm.h | |||
@@ -75,14 +75,14 @@ static inline void Adpcm_set_output( struct Hes_Apu_Adpcm* this, int chan, struc | |||
75 | } | 75 | } |
76 | 76 | ||
77 | // Emulates to time t, then writes data to addr | 77 | // Emulates to time t, then writes data to addr |
78 | void Adpcm_write_data( struct Hes_Apu_Adpcm* this, blip_time_t t, int addr, int data ) ICODE_ATTR; | 78 | void Adpcm_write_data( struct Hes_Apu_Adpcm* this, blip_time_t t, int addr, int data ); |
79 | 79 | ||
80 | // Emulates to time t, then reads from addr | 80 | // Emulates to time t, then reads from addr |
81 | int Adpcm_read_data( struct Hes_Apu_Adpcm* this, blip_time_t t, int addr ) ICODE_ATTR; | 81 | int Adpcm_read_data( struct Hes_Apu_Adpcm* this, blip_time_t t, int addr ); |
82 | 82 | ||
83 | // Emulates to time t, then subtracts t from the current time. | 83 | // Emulates to time t, then subtracts t from the current time. |
84 | // OK if previous write call had time slightly after t. | 84 | // OK if previous write call had time slightly after t. |
85 | void Adpcm_end_frame( struct Hes_Apu_Adpcm* this,blip_time_t t ) ICODE_ATTR; | 85 | void Adpcm_end_frame( struct Hes_Apu_Adpcm* this,blip_time_t t ); |
86 | 86 | ||
87 | // Sets overall volume, where 1.0 is normal | 87 | // Sets overall volume, where 1.0 is normal |
88 | static inline void Adpcm_volume( struct Hes_Apu_Adpcm* this, int v ) { Synth_volume( &this->synth, (v*3)/5 / adpcm_osc_count / adpcm_amp_range ); } | 88 | static inline void Adpcm_volume( struct Hes_Apu_Adpcm* this, int v ) { Synth_volume( &this->synth, (v*3)/5 / adpcm_osc_count / adpcm_amp_range ); } |