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.h19
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
6struct sndchan 6struct 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
17struct snd 16struct 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
24extern struct snd snd; 22extern struct snd snd;
@@ -31,7 +29,6 @@ extern struct snd snd;
31byte sound_read(byte r) ICODE_ATTR; 29byte sound_read(byte r) ICODE_ATTR;
32void sound_write(byte r, byte b) ICODE_ATTR; 30void sound_write(byte r, byte b) ICODE_ATTR;
33void sound_dirty(void) ICODE_ATTR; 31void sound_dirty(void) ICODE_ATTR;
34void sound_off(void);
35void sound_reset(void); 32void sound_reset(void);
36void sound_mix(void) ICODE_ATTR; 33void sound_mix(void) ICODE_ATTR;
37void s1_init(void); 34void s1_init(void);