diff options
Diffstat (limited to 'apps/plugins/rockboy/sound.h')
-rw-r--r-- | apps/plugins/rockboy/sound.h | 11 |
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 | |||
20 | struct snd | 17 | struct 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 | |||
28 | extern struct snd snd; | 24 | extern 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 | ||
35 | byte sound_read(byte r) ICODE_ATTR; | 31 | byte sound_read(byte r) ICODE_ATTR; |
36 | void sound_write(byte r, byte b)ICODE_ATTR; | 32 | void sound_write(byte r, byte b) ICODE_ATTR; |
37 | void sound_dirty(void)ICODE_ATTR; | 33 | void sound_dirty(void) ICODE_ATTR; |
38 | void sound_off(void); | 34 | void sound_off(void); |
39 | void sound_reset(void); | 35 | void sound_reset(void); |
40 | void sound_mix(void)ICODE_ATTR; | 36 | void sound_mix(void) ICODE_ATTR; |
41 | void s1_init(void); | 37 | void s1_init(void); |
42 | void s2_init(void); | 38 | void s2_init(void); |
43 | void s3_init(void); | 39 | void s3_init(void); |
44 | void s4_init(void); | 40 | void s4_init(void); |
45 | 41 | ||
46 | #endif | 42 | #endif |
47 | |||