sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
audio_sound_desc Struct Reference

#include <audio.h>

Public Attributes

const void * adpcm_data
int32_t adpcm_size_bytes
int32_t sample_rate_hz
int32_t channel_count
int32_t loops

Detailed Description

Raw PS-ADPCM data for audio_sound_load_adpcm().

Definition at line 86 of file audio.h.

Member Data Documentation

◆ adpcm_data

const void* audio_sound_desc::adpcm_data

the ADPCM blocks, without a file header

Definition at line 88 of file audio.h.

◆ adpcm_size_bytes

int32_t audio_sound_desc::adpcm_size_bytes

a multiple of 16; stereo is all left blocks, then all right blocks

Definition at line 89 of file audio.h.

◆ channel_count

int32_t audio_sound_desc::channel_count

1 or 2

Definition at line 91 of file audio.h.

◆ loops

int32_t audio_sound_desc::loops

1 to play until stopped, 0 to play once

Definition at line 92 of file audio.h.

◆ sample_rate_hz

int32_t audio_sound_desc::sample_rate_hz

native rate of the sound, 4000 to 48000

Definition at line 90 of file audio.h.


The documentation for this struct was generated from the following file: