mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07:00
Audio decompiled and WIP custom sample support
This commit is contained in:
parent
72bacabf45
commit
6f5ce7d715
47 changed files with 3616 additions and 3933 deletions
|
@ -30,7 +30,8 @@
|
|||
#include "ichain.h"
|
||||
#include "regs.h"
|
||||
|
||||
#define AUDIO_HEAP_SIZE 0x38000
|
||||
//#define AUDIO_HEAP_SIZE 0x38000
|
||||
#define AUDIO_HEAP_SIZE 0x3800000 // The original audio heap size was too small. The heap would exceed capacity and corrupt everything in its path.
|
||||
#define SYSTEM_HEAP_SIZE (1024 * 1024 * 4)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -120,7 +120,8 @@ typedef struct {
|
|||
/* 0x08 */ s16 book[1]; // size 8 * order * npredictors. 8-byte aligned
|
||||
} AdpcmBook; // size >= 0x8
|
||||
|
||||
typedef struct {
|
||||
typedef struct
|
||||
{
|
||||
union {
|
||||
struct {
|
||||
/* 0x00 */ u32 codec : 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue