SDL_CDPlay

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 22:58
Index Return to Main Contents
 

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