SDL_CDPlay - Man Page

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

Referenced By

SDL_CDPause(3), SDL_CDPlayTracks(3), SDL_CDResume(3), SDL_CDStop(3).

Tue 11 Sep 2001, 22:58 SDL API Reference