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

Not supported. Every function returns -AUDSRV_ERR_NO_DISC. More...

Functions

int audsrv_play_cd (int track)
int audsrv_stop_cd (void)
int audsrv_get_cdpos (void)
int audsrv_get_trackpos (void)
int audsrv_get_numtracks (void)
int audsrv_get_track_offset (int track)
int audsrv_pause_cd (void)
int audsrv_resume_cd (void)
int audsrv_play_sectors (int start, int end)
int audsrv_get_cd_status (void)
int audsrv_get_cd_type (void)
int audsrv_on_cdda_stop (audsrv_callback_t cb, void *arg)

Detailed Description

Not supported. Every function returns -AUDSRV_ERR_NO_DISC.

Function Documentation

◆ audsrv_get_cd_status()

int audsrv_get_cd_status ( void )

Drive status.

◆ audsrv_get_cd_type()

int audsrv_get_cd_type ( void )

Disc type.

◆ audsrv_get_cdpos()

int audsrv_get_cdpos ( void )

Position on the disc.

◆ audsrv_get_numtracks()

int audsrv_get_numtracks ( void )

Number of tracks.

◆ audsrv_get_track_offset()

int audsrv_get_track_offset ( int track)

Start of a track.

◆ audsrv_get_trackpos()

int audsrv_get_trackpos ( void )

Position within the current track.

◆ audsrv_on_cdda_stop()

int audsrv_on_cdda_stop ( audsrv_callback_t cb,
void * arg )

Registers a function called when CD audio stops.

◆ audsrv_pause_cd()

int audsrv_pause_cd ( void )

Pauses CD audio.

◆ audsrv_play_cd()

int audsrv_play_cd ( int track)

Plays a CD audio track.

◆ audsrv_play_sectors()

int audsrv_play_sectors ( int start,
int end )

Plays a range of sectors.

◆ audsrv_resume_cd()

int audsrv_resume_cd ( void )

Resumes CD audio.

◆ audsrv_stop_cd()

int audsrv_stop_cd ( void )

Stops CD audio.