19 #ifndef __DC_SOUND_SOUND_H
20 #define __DC_SOUND_SOUND_H
22 #include <sys/cdefs.h>
int snd_mem_init(uint32 reserve)
Reinitialize the SPU RAM pool.
uint32 snd_mem_available()
Get the size of the largest allocateable block in the SPU RAM pool.
void snd_sh4_to_aica_stop()
Stop processing AICA queue requests.
void snd_mem_free(uint32 addr)
Free a block of allocated memory in the SPU RAM pool.
int snd_init()
Initialize the sound system.
void snd_mem_shutdown()
Shutdown the SPU RAM allocator.
uint32 snd_mem_malloc(size_t size)
Allocate memory in the SPU RAM pool.
void snd_poll_resp()
Poll for a response from the AICA.
unsigned long uint32
32-bit unsigned integer
Definition: types.h:28
void snd_sh4_to_aica_start()
Begin processing AICA queue requests.
int snd_aica_to_sh4(void *packetout)
Transfer a packet of data from the AICA's SH4 queue.
void snd_shutdown()
Shut down the sound system.
int snd_sh4_to_aica(void *packet, uint32 size)
Copy a request packet to the AICA queue.