a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 cd.device
  CD_ADDCHANGEINT
  CD_ADDFRAMEINT
  CD_ATTENUATE
  CD_CHANGENUM
  CD_CHANGESTATE
  CD_CONFIG
  CD_EJECT
  CD_GETGEOMETRY
  CD_INFO
  CD_MOTOR
  CD_PAUSE
  CD_PLAYLSN
  CD_PLAYMSF
  CD_PLAYTRACK
  CD_PROTSTATUS
  CD_QCODELSN
  CD_QCODEMSF
  CD_READ
  CD_READXL
  CD_REMCHANGEINT
  CD_REMFRAMEINT
  CD_SEARCH
  CD_SEEK
  CD_TOCLSN
  CD_TOCMSF
  CloseDevice
  OpenDevice
Include
GuruMeditation
Docs » Autodocs » cd.device » CD_PLAYTRACK

NAME

       CD_PLAYTRACK -- Play one or more tracks of CD audio.
IO REQUEST
io_Device preset by the call to OpenDevice()
io_Unit preset by the call to OpenDevice()
io_Command CD_PLAYTRACK
io_Data NULL
io_Length number of tracks to play
io_Offset start playing at beginning of this track

RESULT

       io_Error        0 for success, or an error code as defined in
<devices/cd.h>

FUNCTION

       This command causes the drive to play the specified audio track(s).
The command will return when the audio has completed.
io_Offset specifies the track number (starting from 1).
io_Length specifies the number of tracks to play (0 is invalid).

EXAMPLE

       ior->io_Command = CD_PLAYTRACK;    /* Play audio tracks     */
ior->io_Offset = STARTTRACK; /* Start with this track */
ior->io_Length = 3; /* Play three tracks */
DoIO(ior);

NOTES

       PLAY commands are asynchronous with many other CD commands.
Using a separate I/O request, other commands can be sent to the device
that can change the behavior of the PLAY command.

BUGS

SEE ALSO

CD_PLAYMSF(), CD_PLAYLSN(), CD_PAUSE(), CD_SEARCH(), CD_ATTENUATE()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Kefrens

KEF
HZ
RZR
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se