summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/sound.h')
-rw-r--r--apps/plugins/rockboy/sound.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/plugins/rockboy/sound.h b/apps/plugins/rockboy/sound.h
index 682e6c1e94..a14b04c5a2 100644
--- a/apps/plugins/rockboy/sound.h
+++ b/apps/plugins/rockboy/sound.h
@@ -1,5 +1,3 @@
1
2
3#ifndef __SOUND_H__ 1#ifndef __SOUND_H__
4#define __SOUND_H__ 2#define __SOUND_H__
5 3
@@ -16,7 +14,6 @@ struct sndchan
16 int envol, endir; 14 int envol, endir;
17}; 15};
18 16
19
20struct snd 17struct snd
21{ 18{
22 int rate; 19 int rate;
@@ -24,7 +21,6 @@ struct snd
24 byte wave[16]; 21 byte wave[16];
25}; 22};
26 23
27
28extern struct snd snd; 24extern struct snd snd;
29 25
30#if defined(ICODE_ATTR) && defined(CPU_ARM) 26#if defined(ICODE_ATTR) && defined(CPU_ARM)
@@ -33,15 +29,14 @@ extern struct snd snd;
33#endif 29#endif
34 30
35byte sound_read(byte r) ICODE_ATTR; 31byte sound_read(byte r) ICODE_ATTR;
36void sound_write(byte r, byte b)ICODE_ATTR; 32void sound_write(byte r, byte b) ICODE_ATTR;
37void sound_dirty(void)ICODE_ATTR; 33void sound_dirty(void) ICODE_ATTR;
38void sound_off(void); 34void sound_off(void);
39void sound_reset(void); 35void sound_reset(void);
40void sound_mix(void)ICODE_ATTR; 36void sound_mix(void) ICODE_ATTR;
41void s1_init(void); 37void s1_init(void);
42void s2_init(void); 38void s2_init(void);
43void s3_init(void); 39void s3_init(void);
44void s4_init(void); 40void s4_init(void);
45 41
46#endif 42#endif
47