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

  man pages->IRIX man pages -> audiofile/AFinitmarkname (3d)              
Title
Content
Arch
Section
 

Contents


afInitMarkName(3dm)					   afInitMarkName(3dm)


NAME    [Toc]    [Back]

     afInitMarkName, afInitMarkComment - initialize the	name/comment for a
     specified marker in an AFfilesetup	structure

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audiofile.h>

     void afInitMarkName(AFfilesetup setup, int	track, int markid,
				      const char *namestr)

     void afInitMarkComment(AFfilesetup	setup, int track, int markid,
				      const char *commstr)

PARAMETER    [Toc]    [Back]

     setup     is an AFfilesetup structure, previously created by a call to
	       afNewFileSetup(3dm).

     track     is a positive integer value which specifies an audio track in a
	       file configuration.

	       Since all currently supported file formats contain exactly one
	       audio track, the	value AF_DEFAULT_TRACK should always be	used
	       here for	now.

     markid    a positive integer value	which identifies a marker structure
	       configured into track previously	by afInitMarkIDs(3dm).

     namestr   is a character string which will	be written into	the marker
	       structure when an audio file is created with setup.

	       AIFF-C (AIFF) files allow up to 255 characters per marker name.

     commstr   is a character string which will	be written into	the marker
	       structure when an audio file is created with setup.

	       Any file	type which does	not allow comments (AIFF-C and AIFF
	       included) will simply ignore the	comment.  Currently, WAVE
	       files support comments in the "cue" list, into which the	mark
	       chunks are mapped.

DESCRIPTION    [Toc]    [Back]

     afInitMarkName() specifies	a name string for a marker structure.
     afInitMarkComment() specifies a comment string for	same. Note that	you
     need to initialize	a list of marker ID's for setup	by calling
     afInitMarkIDs(3dm)	before you can set name	strings	and/or comments	for
     individual	markers.

     When you create an	audio file by passing setup to afOpenFile(3dm),	the
     file header will be written out with namestr attached to the marker
     structure given by	markid.





									Page 1






afInitMarkName(3dm)					   afInitMarkName(3dm)



     Marker names and comments default to zero-length strings.

EXAMPLE    [Toc]    [Back]

     You might initialize the marker ID	list in	an AFfilesetup to {1,2,3,4} to
     store four	endpoints, two for each	of two loops.

     You might then give marker	1 the name "begin sustain loop", marker	2 the
     name "end sustain loop", marker 3 the name	"begin release loop", and
     marker 4 the name "end release loop".

SEE ALSO    [Toc]    [Back]

      
      
     afNewFileSetup(3dm), afOpenFile(3dm), afInitMarkIDs(3dm),
     afGetMarkIDs(3dm),	afGetMarkName(3dm)
afInitMarkName(3dm)					   afInitMarkName(3dm)


NAME    [Toc]    [Back]

     afInitMarkName, afInitMarkComment - initialize the	name/comment for a
     specified marker in an AFfilesetup	structure

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audiofile.h>

     void afInitMarkName(AFfilesetup setup, int	track, int markid,
				      const char *namestr)

     void afInitMarkComment(AFfilesetup	setup, int track, int markid,
				      const char *commstr)

PARAMETER    [Toc]    [Back]

     setup     is an AFfilesetup structure, previously created by a call to
	       afNewFileSetup(3dm).

     track     is a positive integer value which specifies an audio track in a
	       file configuration.

	       Since all currently supported file formats contain exactly one
	       audio track, the	value AF_DEFAULT_TRACK should always be	used
	       here for	now.

     markid    a positive integer value	which identifies a marker structure
	       configured into track previously	by afInitMarkIDs(3dm).

     namestr   is a character string which will	be written into	the marker
	       structure when an audio file is created with setup.

	       AIFF-C (AIFF) files allow up to 255 characters per marker name.

     commstr   is a character string which will	be written into	the marker
	       structure when an audio file is created with setup.

	       Any file	type which does	not allow comments (AIFF-C and AIFF
	       included) will simply ignore the	comment.  Currently, WAVE
	       files support comments in the "cue" list, into which the	mark
	       chunks are mapped.

DESCRIPTION    [Toc]    [Back]

     afInitMarkName() specifies	a name string for a marker structure.
     afInitMarkComment() specifies a comment string for	same. Note that	you
     need to initialize	a list of marker ID's for setup	by calling
     afInitMarkIDs(3dm)	before you can set name	strings	and/or comments	for
     individual	markers.

     When you create an	audio file by passing setup to afOpenFile(3dm),	the
     file header will be written out with namestr attached to the marker
     structure given by	markid.





									Page 1






afInitMarkName(3dm)					   afInitMarkName(3dm)



     Marker names and comments default to zero-length strings.

EXAMPLE    [Toc]    [Back]

     You might initialize the marker ID	list in	an AFfilesetup to {1,2,3,4} to
     store four	endpoints, two for each	of two loops.

     You might then give marker	1 the name "begin sustain loop", marker	2 the
     name "end sustain loop", marker 3 the name	"begin release loop", and
     marker 4 the name "end release loop".

SEE ALSO    [Toc]    [Back]

      
      
     afNewFileSetup(3dm), afOpenFile(3dm), afInitMarkIDs(3dm),
     afGetMarkIDs(3dm),	afGetMarkName(3dm)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
AFinitmarkids IRIX specify a list of marker ID's for a new audio file in an AFfilesetup structure
AFnewfilesetup IRIX create and initialize an AFfilesetup structure
AFinittrackids IRIX initialize the list of audio track identifiers in an AFfilesetup structure.
AFinitloopids IRIX initialize a list of loop ID's for a given instrument in an AFfilesetup structure
AFinitfilefmt IRIX initialize the audio file format type in an AFfilesetup structure
AFinitmiscids IRIX initialize the list of miscellaneous data chunk ID's in an AFfilesetup file configuration structure, initializ
AFgetmarkname IRIX get the name or comment string for a given marker id in an audio track
AFfreefilesetup IRIX deallocates an AFfilesetup structure
afInitPCMMapping IRIX configure the PCM mapping for an audio track in an AFfilesetup structure
AFinitinstids IRIX specify a list of instrument parameter chunk identifiers to be stored in an AFfilesetup structure.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service