22#ifndef __DC_SOUND_SOUND_H
23#define __DC_SOUND_SOUND_H
201void snd_pcm8_split(uint32_t *data, uint32_t *left, uint32_t *right,
size_t size);
void snd_pcm16_split_sq(uint32_t *data, uintptr_t left, uintptr_t right, size_t size)
Separates stereo PCM samples into 2 mono channels with SQ transfer.
void snd_shutdown(void)
Shut down the sound system.
void snd_sh4_to_aica_start(void)
Begin processing AICA queue requests.
int snd_init(void)
Initialize the sound system.
uint32 snd_mem_available(void)
Get the size of the largest allocateable block in the SPU RAM pool.
void snd_mem_free(uint32 addr)
Free a block of allocated memory in the SPU RAM pool.
void snd_adpcm_split(uint32_t *data, uint32_t *left, uint32_t *right, size_t size)
Separates stereo ADPCM samples into 2 mono channels.
int snd_mem_init(uint32 reserve)
Reinitialize the SPU RAM pool.
void snd_pcm8_split(uint32_t *data, uint32_t *left, uint32_t *right, size_t size)
Separates stereo PCM samples into 2 mono channels.
void snd_mem_shutdown(void)
Shutdown the SPU RAM allocator.
uint32 snd_mem_malloc(size_t size)
Allocate memory in the SPU RAM pool.
void snd_sh4_to_aica_stop(void)
Stop processing AICA queue requests.
int snd_aica_to_sh4(void *packetout)
Transfer a packet of data from the AICA's SH4 queue.
int snd_sh4_to_aica(void *packet, uint32 size)
Copy a request packet to the AICA queue.
void snd_pcm16_split(uint32_t *data, uint32_t *left, uint32_t *right, size_t size)
Separates stereo PCM samples into 2 mono channels.
void snd_poll_resp(void)
Poll for a response from the AICA.
unsigned long uint32
32-bit unsigned integer
Definition types.h:33