Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly
SDL_CDPlay(3) SDL API Reference SDL_CDPlay(3)

NAME

SDL_CDPlay - Play a CD

SYNOPSIS

#include "SDL.h"
 
int SDL_CDPlay(SDL_CD *cdrom, int start, int length);

DESCRIPTION

Plays the given cdrom, starting a frame start for length frames.

RETURN VALUES

Returns 0 on success, or -1 on an error.

SEE ALSO

SDL_CDPlayTracks, SDL_CDStop
Tue 11 Sep 2001, 22:58 SDL
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org