#ifndef ALIST_INTERNAL_H
#define ALIST_INTERNAL_H
-#include "hle.h"
+#include <stdint.h>
-typedef void (*acmd_callback_t)(u32 inst1, u32 inst2);
+typedef void (*acmd_callback_t)(uint32_t inst1, uint32_t inst2);
/*
* Audio flags
#define A_MAIN 0x00
#define A_MIX 0x10
-extern u16 AudioInBuffer, AudioOutBuffer, AudioCount;
-extern u16 AudioAuxA, AudioAuxC, AudioAuxE;
-extern u32 loopval; // Value set by A_SETLOOP : Possible conflict with SETVOLUME???
+/* FIXME: this decomposition into 3 ABI is not accurate,
+ * there are a least 9 or 10 different ABI, each with one or a few revisions
+ * for a total of almost 16 differents audio ucode.
+ *
+ * ABI2 in fact is a mix of at least 7 differents ABI which are mostly compatible
+ * but not totally, that's why there is a isZeldaABI/isMKABI workaround.
+ */
+extern const acmd_callback_t ABI1[0x10];
+extern const acmd_callback_t ABI2[0x20];
+extern const acmd_callback_t ABI3[0x10];
-#endif
+#endif
\ No newline at end of file