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

#include <audio.h>

Public Attributes

int32_t sample_rate_hz
int32_t bits_per_sample
int32_t channel_count

Detailed Description

Format of the PCM data given to audio_stream_queue_pcm().

Definition at line 78 of file audio.h.

Member Data Documentation

◆ bits_per_sample

int32_t audio_stream_format::bits_per_sample

8 (signed) or 16 (signed little-endian)

Definition at line 81 of file audio.h.

◆ channel_count

int32_t audio_stream_format::channel_count

1 or 2; stereo data is interleaved

Definition at line 82 of file audio.h.

◆ sample_rate_hz

int32_t audio_stream_format::sample_rate_hz

8000 to 48000

Definition at line 80 of file audio.h.


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