Decompile audioPlayFromProp2

This commit is contained in:
Ryan Dwyer
2021-01-09 13:38:15 +10:00
parent 565b12d035
commit ee76da367e
5 changed files with 70 additions and 167 deletions
+2
View File
@@ -250,8 +250,10 @@
#define AUDIOCHANNELFLAG_0002 0x0002
#define AUDIOCHANNELFLAG_0008 0x0008
#define AUDIOCHANNELFLAG_0010 0x0010
#define AUDIOCHANNELFLAG_0040 0x0040
#define AUDIOCHANNELFLAG_0080 0x0080
#define AUDIOCHANNELFLAG_0200 0x0200
#define AUDIOCHANNELFLAG_2000 0x2000
#define BANK_0 0
#define BANK_1 1
+3 -3
View File
@@ -11,15 +11,15 @@ u32 func0f09294c(void);
void func0f092a98(s32 channelnum);
u32 func0f092b50(void);
u32 func0f092b7c(void);
u32 func0f092c04(void);
void func0f092c04(s32 channelnum);
u32 func0f093508(void);
u32 func0f093630(void);
u32 func0f093790(void);
u32 func0f0938ec(void);
u32 func0f0939f8(void *arg0, struct prop *prop, s16 sound, s32 padnum, s32 arg4, s32 arg5, s32 arg6, s32 arg7, s32 arg8, f32 arg9, s32 arg10, s32 arg11, f32 arg12, f32 arg13, f32 arg14);
u32 func0f0939f8(void *arg0, struct prop *prop, s16 sound, s32 padnum, s32 arg4, u32 arg5, s32 arg6, s32 arg7, s32 arg8, f32 arg9, s32 arg10, s32 arg11, f32 arg12, f32 arg13, f32 arg14);
void audioMuteChannel(s32 channelnum);
bool audioIsChannelIdle(s32 channelnum);
bool audioPlayFromProp2(s8 channel_id, s32 audio_id, s32 volumemaybe, struct prop *prop, u32 arg4, s32 arg5, s32 arg6, s32 arg7);
void audioPlayFromProp2(s32 channelnum, s32 soundnum, s16 arg2, struct prop *prop, s32 arg4, s32 arg5, s32 arg6, u16 arg7);
u32 func0f0946b0(void);
u32 func0f094940(void);
u32 func0f094b1c(void);
+10 -8
View File
@@ -6678,24 +6678,26 @@ struct var800a45c4 {
struct audiochannel {
/*0x00*/ struct audiohandle *audiohandle;
/*0x04*/ u16 unk04;
/*0x04*/ s16 soundnum;
/*0x06*/ s16 unk06;
/*0x08*/ u32 unk08;
/*0x0c*/ u32 unk0c;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;
/*0x18*/ u32 unk18;
/*0x1c*/ u32 unk1c;
/*0x18*/ u16 unk18;
/*0x1c*/ s32 unk1c;
/*0x20*/ u32 unk20;
/*0x24*/ u16 unk24;
/*0x24*/ s16 unk24;
/*0x26*/ s16 filenum;
/*0x28*/ s16 unk28;
/*0x2c*/ u32 unk2c;
/*0x2a*/ u16 unk2a;
/*0x2c*/ u16 unk2c;
/*0x2e*/ u16 unk2e;
/*0x30*/ u16 flags;
/*0x32*/ u16 unk32;
/*0x34*/ u32 unk34;
/*0x38*/ u32 unk38;
/*0x3c*/ u32 unk3c;
/*0x34*/ f32 unk34;
/*0x38*/ f32 unk38;
/*0x3c*/ f32 unk3c;
/*0x40*/ u32 unk40;
/*0x44*/ u32 unk44;
/*0x48*/ u32 unk48;