CDtogglepause(3dm)

CDtogglepause - toggles a CD-ROM drive between pause and play

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     CDtogglepause - toggles a CD-ROM drive between pause and play

SYNOPSIS
     #include <sys/types.h>
     #include <dmedia/cdaudio.h>

     int CDtogglepause(CDPLAYER* cd)

PARAMETER
     cd   A pointer to the CDPLAYER structure representing the target CD-ROM
          drive.

RETURNED VALUE
     If successful, this function returns a non-zero value otherwise zero is
     returned.

DESCRIPTION
     CDtogglepause(3dm) pauses the CD if it is playing and makes it play if it
     is paused.

WARNING
     The CDtogglepause(3dm) function should not be used in conjunction with
     the CDreadda(3dm) function.

SEE ALSO
     CDintro(3dm), CDclose(3dm), CDgetstatus(3dm), CDgettrackinfo(3dm),
     CDeject(3dm), CDopen(3dm), CDplay(3dm), CDplayabs(3dm), CDplaytrack(3dm),
     CDplaytrackabs(3dm), CDstop(3dm)

AUTHOR
     Roger Chickering, Mark Callow