cd_playtrk

From ArchaicPixels: HuC and PCEAS Documentation

Jump to: navigation, search

cd_playtrk(int start, int end, int mode);      [ 3.01+ ]

    Play one or more CDROM audio tracks in a few different modes.
    This will not play 'end' track, so 'end' >= 'start'+1.  If you wish to
    play until end of disc (or if 'start' track is final track), then set
    'end' to value 'CDPLAY_ENDOFDISC'.
    Attempts to play data tracks will not play, and will return non-zero
    error code.
Valid modesMeaning
CDPLAY_MUTE Plays audio without sound (muted)
CDPLAY_REPEATPlays audio, repeating when track(s) complete
CDPLAY_NORMALPlays audio only until completion of track(s)
Personal tools