|
sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
|
Sounds on mixer channels and PCM streaming for the EE, with an IOP driver on the SPU2. More...
Topics | |
| Error codes | |
| Positive constants; functions return them negated. | |
| Lifecycle and global settings | |
| Stream | |
| PCM playback for music and video audio. | |
| Sounds | |
| ADPCM sounds kept in SPU2 memory. | |
| Channels | |
| Mixer channels 0 to 23 that play sounds. | |
| Effects | |
| The SPU2 reverb and delay. | |
| Contexts | |
| The audio library on an explicit context instead of the default one. | |
Files | |
| file | audio/include/audio.h |
Sounds on mixer channels and PCM streaming for the EE, with an IOP driver on the SPU2.
The library has two parts: an IOP module, audio.irx, that drives the SPU2, and an EE library, libaudio.a, that talks to it. The functions are in audio.h, and audio_core.h has the same functions on an explicit context. Concepts describes how the parts fit together, and Sound files (.adp) the sound file format. Code written against audsrv can use the audsrv-compat package instead; see Moving from audsrv to audio.