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

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

Contents


DTframetotc(3dm)					      DTframetotc(3dm)


NAME    [Toc]    [Back]

     DTframetotc - convert frame number	to timecode

SYNOPSIS    [Toc]    [Back]

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

     void DTframetotc(unsigned long fr,	struct dttimecode* tc)

PARAMETERS    [Toc]    [Back]

     fr	  The frame number to be converted.

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

DESCRIPTION    [Toc]    [Back]

     DTframetotc converts a DAT	frame number into a struct dttimecode which is
     defined as	follows	in dataudio.h :

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


     Hours, minutes, seconds and frame number are each represented by 2	BCD
     digits.  This structure is	the same as a struct mtaudtimecode and can be
     passed as an argument to the MTSETAUDIO ioctl used	to search for time
     code locations on a tape.

SEE ALSO    [Toc]    [Back]

      
      
     DTintro(3dm), DTaddcallback(3dm), DTatotime(3dm), DTframetohmsf(3dm),
     DTparseframe(3dm),	datframe(4)

AUTHOR    [Toc]    [Back]

     Doug Cook,	Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
CDframetotc IRIX convert CD frame number to timecode
CDtctoframe IRIX convert timecode to CD frame number
DTtctoframe IRIX convert DAT timecode structure to DAT frame number.
DTframetohmsf IRIX convert DAT frame number to hours, minutes, seconds, frame
DThmsftoframe IRIX convert hours, minutes, seconds, frame to DAT frame number.
CDframetomsf IRIX convert CD frame number to minutes, seconds, frame
CDmsftoframe IRIX convert time to CD frame number
CDtimetoa IRIX convert timecode to ASCII string
DTatotime IRIX convert ASCII string to timecode
DTtimetoa IRIX convert timecode to ASCII string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service