diff options
Diffstat (limited to 'apps/plugins/rockboy/sound.h')
-rw-r--r-- | apps/plugins/rockboy/sound.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/apps/plugins/rockboy/sound.h b/apps/plugins/rockboy/sound.h index a14b04c5a2..fe3557cd7e 100644 --- a/apps/plugins/rockboy/sound.h +++ b/apps/plugins/rockboy/sound.h | |||
@@ -5,20 +5,18 @@ | |||
5 | 5 | ||
6 | struct sndchan | 6 | struct sndchan |
7 | { | 7 | { |
8 | int on; | 8 | int on; |
9 | unsigned pos; | 9 | unsigned pos; |
10 | int cnt, encnt, swcnt; | 10 | int cnt, encnt, swcnt; |
11 | int len, enlen, swlen; | 11 | int len, enlen, swlen; |
12 | int swfreq; | 12 | int freq; |
13 | int freq; | 13 | int envol, endir; |
14 | int envol, endir; | ||
15 | }; | 14 | }; |
16 | 15 | ||
17 | struct snd | 16 | struct snd |
18 | { | 17 | { |
19 | int rate; | 18 | int rate; |
20 | struct sndchan ch[4]; | 19 | struct sndchan ch[4]; |
21 | byte wave[16]; | ||
22 | }; | 20 | }; |
23 | 21 | ||
24 | extern struct snd snd; | 22 | extern struct snd snd; |
@@ -31,7 +29,6 @@ extern struct snd snd; | |||
31 | byte sound_read(byte r) ICODE_ATTR; | 29 | byte sound_read(byte r) ICODE_ATTR; |
32 | void sound_write(byte r, byte b) ICODE_ATTR; | 30 | void sound_write(byte r, byte b) ICODE_ATTR; |
33 | void sound_dirty(void) ICODE_ATTR; | 31 | void sound_dirty(void) ICODE_ATTR; |
34 | void sound_off(void); | ||
35 | void sound_reset(void); | 32 | void sound_reset(void); |
36 | void sound_mix(void) ICODE_ATTR; | 33 | void sound_mix(void) ICODE_ATTR; |
37 | void s1_init(void); | 34 | void s1_init(void); |