Decompile audioIsChannelIdle

This commit is contained in:
Ryan Dwyer
2021-01-09 00:19:21 +10:00
parent 1a290017eb
commit ad5e2f1b69
10 changed files with 80 additions and 121 deletions
+5
View File
@@ -246,6 +246,11 @@
#define ANIMFLAG_02 0x02
#define AUDIOCHANNELFLAG_IDLE 0x0001
#define AUDIOCHANNELFLAG_0002 0x0002
#define AUDIOCHANNELFLAG_0010 0x0010
#define AUDIOCHANNELFLAG_0080 0x0080
#define BANK_0 0
#define BANK_1 1
+1 -1
View File
@@ -137,7 +137,7 @@ extern u32 var8006ad24;
extern u32 var8006ad8c;
extern u32 var8006ad90;
extern u32 var8006adf8;
extern struct var8006ae10 *var8006ae10;
extern struct audiochannel *g_AudioChannels;
extern u32 var8006ae14;
extern s8 var8006ae18;
extern s8 var8006ae1c;
+1 -1
View File
@@ -18,7 +18,7 @@ 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);
void audioMuteChannel(s32 channel);
u32 audioIfChannelIdle(s32 channel);
bool audioIsChannelIdle(s32 channel);
bool audioPlayFromProp2(s8 channel_id, s32 audio_id, s32 volumemaybe, struct prop *prop, u32 arg4, s32 arg5, s32 arg6, s32 arg7);
u32 func0f0946b0(void);
u32 func0f094940(void);
+2 -2
View File
@@ -6676,7 +6676,7 @@ struct var800a45c4 {
/*0x68*/ u32 unk68;
};
struct var8006ae10 {
struct audiochannel {
/*0x00*/ struct audiohandle *audiohandle;
/*0x04*/ u32 unk04;
/*0x08*/ u32 unk08;
@@ -6690,7 +6690,7 @@ struct var8006ae10 {
/*0x26*/ s16 unk26;
/*0x28*/ s16 unk28;
/*0x2c*/ u32 unk2c;
/*0x30*/ u16 unk30;
/*0x30*/ u16 flags;
/*0x34*/ u32 unk34;
/*0x38*/ u32 unk38;
/*0x3c*/ u32 unk3c;