SSBM Decomp
Loading...
Searching...
No Matches
axdriver.h
Go to the documentation of this file.
1#ifndef _AXDRIVER_H_
2#define _AXDRIVER_H_
3
4#include <platform.h>
5
6#include "baselib/forward.h"
7
8#define SMSTATE_MASK 0xC0000000
9
10#define SMSTATE_ACTIVE 0x40000000
11#define SMSTATE_SLEEP 0x80000000
12
13struct HSD_SM {
16 u32 flags;
17 int vid;
18 int pid;
19 int fid;
21 u8 pri;
22 u8 pri0[2];
24 s16 volume[2];
26 u8 pan[2];
27 s16 round;
30 u8 span[2];
32 s16 pitch[2];
33 u8 mix[2];
34 u8 mixscale[2];
39 long clock;
40};
41
42u8* AXDriverAlloc(s32 size);
43void AXDriverFree(void* ptr);
44void AXDriverUnlink(HSD_SM* v, HSD_SM** head);
45void AXDriverKeyOff(int v);
48s32 AXDriver_8038D4E4(int, s16);
49
50#endif
u8 * AXDriverAlloc(s32 size)
Definition axdriver.c:6
void HSD_AudioSFXKeyOffTrack(int track)
void AXDriverUnlink(HSD_SM *v, HSD_SM **head)
Definition axdriver.c:23
void AXDriverKeyOff(int v)
s32 AXDriver_8038D4E4(int, s16)
void HSD_AudioSFXKeyOffAll(void)
void AXDriverFree(void *ptr)
Definition axdriver.c:21
Definition axdriver.h:13
long clock
Definition axdriver.h:39
int pid
Definition axdriver.h:18
u32 flags
Definition axdriver.h:16
HSD_SM * next
Definition axdriver.h:15
u8 span[2]
Definition axdriver.h:30
u8 volumeType[2]
Definition axdriver.h:23
u8 mixscale[2]
Definition axdriver.h:34
s16 volume[2]
Definition axdriver.h:24
u8 group
Definition axdriver.h:36
s16 pitch[2]
Definition axdriver.h:32
u8 maxfid
Definition axdriver.h:31
u8 dp12flag
Definition axdriver.h:28
u32 * curScore
Definition axdriver.h:38
s16 round
Definition axdriver.h:27
u8 pri0[2]
Definition axdriver.h:22
u8 filter
Definition axdriver.h:35
HSD_SM * prev
Definition axdriver.h:14
u8 pan[2]
Definition axdriver.h:26
u16 fadetime
Definition axdriver.h:25
u8 track
Definition axdriver.h:20
u16 loopcount
Definition axdriver.h:37
int vid
Definition axdriver.h:17
u8 pri
Definition axdriver.h:21
u8 itdflag
Definition axdriver.h:29
u8 mix[2]
Definition axdriver.h:33
int fid
Definition axdriver.h:19