*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> audiocddat/CDseektrack (3d)              
Title
Content
Arch
Section
 

Contents


CDseektrack(3dm)					      CDseektrack(3dm)


NAME    [Toc]    [Back]

     CDseektrack - set read pointer for	CD-ROM to start	of specified track

SYNOPSIS    [Toc]    [Back]

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

     long CDseektrack(CDPLAYER*	cd, int	track)

PARAMETERS    [Toc]    [Back]

     cd	     A pointer to the CDPLAYER structure representing the target CDROM
 drive.

     track   The track number the pointer is to	be set to.

RETURNED VALUE    [Toc]    [Back]

     If	successful, CDseektrack(3dm) returns the logical block number to which
     the pointer has been set.	Otherwise -1 is	returned and errno is set to
     indicate the error.

DESCRIPTION    [Toc]    [Back]

     CDseektrack(3dm) sets the pointer that indicates the starting point of
     the next read of digital audio data from a	CD-ROM.	 The specified track
     is	looked up in the disc's	table of contents and the pointer is set to
     the start of that track.  The value is stored internally as a logical
     block number.  One	logical	block is one CDFRAME.

SEE ALSO    [Toc]    [Back]

      
      
     CDintro(3dm), CDclose(3dm), CDgetstatus(3dm), CDgettrackinfo(3dm),
     CDmsftoblock(3dm),	CDmsftoframe(3dm), CDopen(3dm),	CDreadda(3dm),
     CDseek(3dm), CDseekblock(3dm), CDtctoframe(3dm), cdframe(4)

AUTHOR    [Toc]    [Back]

     Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
CDseekblock IRIX set read pointer for CD-ROM to start of specified block
AFseekframe IRIX move logical file read pointer for a specified audio track to a desired sample frame location / retrieve curre
AFsetloopstart IRIX set the start/end markers, play mode, and track in an AFfilehandle structure for a specified loop.
AFgetloopstart IRIX get the start/end markers, play mode, and track from an AFfilehandle structure for a specified loop.
AFreadmisc IRIX read from / write to / move logical read/write pointer for data in a miscellaneous chunk in an audio file
aio_read HP-UX start an asynchronous read operation
sockatmark FreeBSD determine whether the read pointer is at the OOB mark
RD Tru64 STREAMS: Gets a pointer to a module's read queue
tell IRIX return the read/write file pointer
lseek IRIX move read/write file pointer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service