summaryrefslogtreecommitdiff
path: root/apps/codecs/mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/mod.c')
-rw-r--r--apps/codecs/mod.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/mod.c b/apps/codecs/mod.c
index c8ada66f18..91b5955b40 100644
--- a/apps/codecs/mod.c
+++ b/apps/codecs/mod.c
@@ -264,27 +264,27 @@ void mixer_playsample(int channel, int instrument)
264 modplayer.modchannel[channel].instrument = instrument; 264 modplayer.modchannel[channel].instrument = instrument;
265} 265}
266 266
267inline void mixer_stopsample(int channel) 267static inline void mixer_stopsample(int channel)
268{ 268{
269 mixer.channel[channel].channelactive = false; 269 mixer.channel[channel].channelactive = false;
270} 270}
271 271
272inline void mixer_continuesample(int channel) 272static inline void mixer_continuesample(int channel)
273{ 273{
274 mixer.channel[channel].channelactive = true; 274 mixer.channel[channel].channelactive = true;
275} 275}
276 276
277inline void mixer_setvolume(int channel, int volume) 277static inline void mixer_setvolume(int channel, int volume)
278{ 278{
279 mixer.channel[channel].volume = volume; 279 mixer.channel[channel].volume = volume;
280} 280}
281 281
282inline void mixer_setpanning(int channel, int panning) 282static inline void mixer_setpanning(int channel, int panning)
283{ 283{
284 mixer.channel[channel].panning = panning; 284 mixer.channel[channel].panning = panning;
285} 285}
286 286
287inline void mixer_setamigaperiod(int channel, int amigaperiod) 287static inline void mixer_setamigaperiod(int channel, int amigaperiod)
288{ 288{
289 /* Just to make sure we don't devide by zero 289 /* Just to make sure we don't devide by zero
290 * amigaperiod shouldn't 0 anyway - if it is the case 290 * amigaperiod shouldn't 0 anyway - if it is the case
@@ -1090,7 +1090,7 @@ void playeffect(int currenttick)
1090 } 1090 }
1091} 1091}
1092 1092
1093inline int clip(int i) 1093static inline int clip(int i)
1094{ 1094{
1095 if (i > 32767) return(32767); 1095 if (i > 32767) return(32767);
1096 else if (i < -32768) return(-32768); 1096 else if (i < -32768) return(-32768);