Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CDframetotc(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CDintro(3dm)

CDaddcallback(3dm)

CDatotime(3dm)

CDframetomsf(3dm)

CDparseframe(3dm)

cdframe(4)



CDframetotc(3dm)                                              CDframetotc(3dm)



NAME
     CDframetotc - convert CD frame number to timecode

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

     void CDframetotc(unsigned long fr, struct cdtimecode* tc)

PARAMETERS
     fr   The frame number to be converted.

     tc   A pointer to the struct cdtimecode in which to place the result.

DESCRIPTION
     CDframetotc(3dm) converts a CD frame number into a struct cdtimecode
     which is defined as follows in cdaudio.h :

              struct dttimecode {
                  unchar mhi:4, mlo:4;
                  unchar shi:4, slo:4;
                  unchar fhi:4, flo:4;
              };


     Minutes, seconds and frame number are each represented by 2 BCD digits.

SEE ALSO
     CDintro(3dm), CDaddcallback(3dm), CDatotime(3dm), CDframetomsf(3dm),
     CDparseframe(3dm), cdframe(4)

AUTHOR
     Doug Cook, Mark Callow






















                                                                        Page 1



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