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

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

Contents


CDgettrackinfo(3dm)					   CDgettrackinfo(3dm)


NAME    [Toc]    [Back]

     CDgettrackinfo - get information about a specified	track on an audio CD

SYNOPSIS    [Toc]    [Back]

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

     int CDgettrackinfo(CDPLAYER* cd, int track, CDTRACKINFO* info)

PARAMETERS    [Toc]    [Back]

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

     track   The number	of the interesting track.

     info    A pointer to the CDTRACKINFO structure to be filled in.

RETURNED VALUE    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     CDgettrackinfo(3dm) fills in the info structure with information about
     the specified track.  CDTRACKINFO is defined in cdaudio.h as follows:

	      typedef struct {
		  int	  start_min;
		  int	  start_sec;
		  int	  start_frame;
		  int	  total_min;
		  int	  total_sec;
		  int	  total_frame;
	      }	CDTRACKINFO;


     Start is the starting point of this track in absolute time	code. Total is
     the length	of the track.

SEE ALSO    [Toc]    [Back]

      
      
     CDintro(3dm), CDclose(3dm), CDgetstatus(3dm), CDeject(3dm), CDopen(3dm),
     CDplay(3dm), CDplayabs(3dm), CDplaytrack(3dm), CDplaytrackabs(3dm),
     CDreadda(3dm), CDstop(3dm), CDtogglepause(3dm),

AUTHOR    [Toc]    [Back]

     Roger Chickering, Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
AFgetaeschanneldata IRIX get/set AES channel status information in an AFfilehandle structure for an audio track
afGetFrameSize IRIX get the track / virtual frame size in bytes for a specified audio track from an AFfilehandle structure
AFgetchannels IRIX get the number of interleaved track / virtual channels from an AFfilehandle structure for an audio track
afGetPCMMapping IRIX get the track / virtual PCM mapping values for a specified audio track from an AFfilehandle structure
AFgetrate IRIX get the track/virtual sample rate for a specified audio track from an AFfilehandle structure
AFgetsampfmt IRIX get the track / virtual sample format or byte order for a specified audio track from an AFfilehandle structure
AFinitcompression IRIX configure the audio compression type and parameters in an AFfilesetup structure for an audio track
afSetVirtualFormatParams IRIX set/get the virtual audio data format in an AFfilehandle for a specified audio track via dmParams
afInitFormatParams IRIX initialize the audio data format in an AFfilesetup for a specified audio track via dmParams
AFwriteframes IRIX write audio sample frames to a specified track in an audio file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service