Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CDgettrackinfo(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CDintro(3dm)

CDclose(3dm)

CDgetstatus(3dm)

CDeject(3dm)

CDopen(3dm)

CDplay(3dm)

CDplayabs(3dm)

CDplaytrack(3dm)

CDplaytrackabs(3dm)

CDreadda(3dm)

CDstop(3dm)

CDtogglepause(3dm)



CDgettrackinfo(3dm)                                        CDgettrackinfo(3dm)



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

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

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

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

     track   The number of the interesting track.

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

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

DESCRIPTION
     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
     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
     Roger Chickering, Mark Callow










                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026