SSBM Decomp
Loading...
Searching...
No Matches
OSAudioSystem.c File Reference
#include <platform.h>
#include <__mem.h>
#include <dolphin/dsp/dsp.h>
#include <dolphin/os/OSArena.h>
#include <dolphin/os/OSAudioSystem.h>
#include <dolphin/os/OSCache.h>
#include <dolphin/os/OSTime.h>

Macros

#define SOME_BUFFER   (void*) 0x81000000
 
#define SOME_SIZE   0x80U
 
#define ARENA_HI_OFFSET   (void*) ((uintptr_t) OSGetArenaHi() - SOME_SIZE)
 

Functions

void __OSInitAudioSystem (void)
 
void __OSStopAudioSystem (void)
 

Variables

u8 DSPInitCode []
 

Macro Definition Documentation

◆ SOME_BUFFER

#define SOME_BUFFER   (void*) 0x81000000

◆ SOME_SIZE

#define SOME_SIZE   0x80U

◆ ARENA_HI_OFFSET

#define ARENA_HI_OFFSET   (void*) ((uintptr_t) OSGetArenaHi() - SOME_SIZE)

Function Documentation

◆ __OSInitAudioSystem()

void __OSInitAudioSystem ( void  )

◆ __OSStopAudioSystem()

void __OSStopAudioSystem ( void  )

Variable Documentation

◆ DSPInitCode

u8 DSPInitCode[]
Initial value:
= {
0x02, 0x9F, 0x00, 0x10, 0x02, 0x9F, 0x00, 0x33, 0x02, 0x9F, 0x00, 0x34,
0x02, 0x9F, 0x00, 0x35, 0x02, 0x9F, 0x00, 0x36, 0x02, 0x9F, 0x00, 0x37,
0x02, 0x9F, 0x00, 0x38, 0x02, 0x9F, 0x00, 0x39, 0x12, 0x06, 0x12, 0x03,
0x12, 0x04, 0x12, 0x05, 0x00, 0x80, 0x80, 0x00, 0x00, 0x88, 0xFF, 0xFF,
0x00, 0x84, 0x10, 0x00, 0x00, 0x64, 0x00, 0x1D, 0x02, 0x18, 0x00, 0x00,
0x81, 0x00, 0x1C, 0x1E, 0x00, 0x44, 0x1B, 0x1E, 0x00, 0x84, 0x08, 0x00,
0x00, 0x64, 0x00, 0x27, 0x19, 0x1E, 0x00, 0x00, 0x00, 0xDE, 0xFF, 0xFC,
0x02, 0xA0, 0x80, 0x00, 0x02, 0x9C, 0x00, 0x28, 0x16, 0xFC, 0x00, 0x54,
0x16, 0xFD, 0x43, 0x48, 0x00, 0x21, 0x02, 0xFF, 0x02, 0xFF, 0x02, 0xFF,
0x02, 0xFF, 0x02, 0xFF, 0x02, 0xFF, 0x02, 0xFF, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}