Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
383 B

5 years ago
  1. #ifndef _ULTRA64_LIBAUDIO_H_
  2. #define _ULTRA64_LIBAUDIO_H_
  3. typedef struct
  4. {
  5. s32 order;
  6. s32 npredictors;
  7. s16 book[1]; // variable size, 8-byte aligned
  8. } ALADPCMBook;
  9. typedef struct
  10. {
  11. u8 *offset;
  12. s32 len;
  13. } ALSeqData;
  14. typedef struct
  15. {
  16. s16 revision;
  17. s16 seqCount;
  18. ALSeqData seqArray[1];
  19. } ALSeqFile;
  20. void alSeqFileNew(ALSeqFile *f, u8 *base);
  21. #endif