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_SEARCH

NAME

       CD_SEARCH -- configure the mode in which PLAY commands play
IO REQUEST
io_Command CD_SEARCH
io_Data NULL
io_Length searchmode
io_Offset 0

RESULT

       io_Actual - if io_Error is 0, this contains the previous search mode.

FUNCTION

       This command causes a play command to play in fast-forward,
fast-reverse, or normal play mode. These modes are defined as:
CDMODE_NORMAL 0 Normal play (current speed setting)
CDMODE_FFWD 1 Play in fast forward mode
CDMODE_FREV 2 Play in fast reverse mode
The search mode can be set before the play command is sent, or during
a play. If CD_SEARCH is sent before a play command is sent, the
mode is set and the command immediately returns. If the mode is set
to REV mode, when the play command is sent the play will begin at the
requested end position and work backwards to the start position.
If CD_SEARCH is sent during a play, the play will automatically
switch to the desired mode and continue playing until the original
play command is completed. If REV mode is set and the beginning of
the play is encountered before switching back to forward play, the
play command will terminate with no error.

EXAMPLE

       /* Search in fast forward mode. */
ior->io_Command = CD_SEARCH;
ior->io_Data = NULL;
ior->io_Offset = 0;
ior->io_Length = CDMODE_FFWD;
DoIO(ior);

NOTES

BUGS

SEE ALSO

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:

Razor 1911

RZR
RBS
PHA
DC

Comments:

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