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

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

Contents


afGetMarkName(3dm)					    afGetMarkName(3dm)


NAME    [Toc]    [Back]

     afGetMarkName, afGetMarkComment - get the name or comment string for a
     given marker id in	an audio track

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audiofile.h>

     char *afGetMarkName(AFfilehandle file, int	trackid, int markid)

     char *afGetMarkComment(AFfilehandle file, int trackid, int	markid)

PARAMETER    [Toc]    [Back]

     file     is an AFfilehandle structure, previously created by a call to
	      afOpenFile(3dm).

     trackid  is a positive integer value which	identifies an audio track in
	      file.  All currently supported file formats allow	exactly	one
	      audio track per file, so the value AF_DEFAULT_TRACK should
	      always be	used here for now.

     markid   is a positive integer value which	identifies a marker structure
	      in the audio track given by trackid.  You	obtain marker ID's by
	      calling afGetMarkIDs(3dm).  You can call afInitMarkIDs(3dm) to
	      assign your own ID's when	you create a new audio file.

RETURN VALUE    [Toc]    [Back]

     afGetMarkName() returns a null-terminated string containing the name
     associated	with the specified marker, or the null string on error.
     afGetMarkComment()	returns	a null-terminated string containing the
     comment associated	with the specified marker, or the null string on
     error.

DESCRIPTION    [Toc]    [Back]

     The AIFF-C	(AIFF) spec includes locations for name	strings	in marker
     structures.  For example, the marker which	holds the beginning sample
     frame location for	the sustain loop might be named	"begin sustain loop".

     The WAVE (RIFF) format spec includes "cues" and associated	data
     describing	each "cue".  In	addition to the	position and name string, a
     "note" is included	in this	data.  The AF maps the mark position, name and
     comment into these	portions of the	description.

     See wave(4) for more details about	cues.

     See the AIFF-C spec and aiff(4) for more details about markers.

SEE ALSO    [Toc]    [Back]

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


NAME    [Toc]    [Back]

     afGetMarkName, afGetMarkComment - get the name or comment string for a
     given marker id in	an audio track

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/audiofile.h>

     char *afGetMarkName(AFfilehandle file, int	trackid, int markid)

     char *afGetMarkComment(AFfilehandle file, int trackid, int	markid)

PARAMETER    [Toc]    [Back]

     file     is an AFfilehandle structure, previously created by a call to
	      afOpenFile(3dm).

     trackid  is a positive integer value which	identifies an audio track in
	      file.  All currently supported file formats allow	exactly	one
	      audio track per file, so the value AF_DEFAULT_TRACK should
	      always be	used here for now.

     markid   is a positive integer value which	identifies a marker structure
	      in the audio track given by trackid.  You	obtain marker ID's by
	      calling afGetMarkIDs(3dm).  You can call afInitMarkIDs(3dm) to
	      assign your own ID's when	you create a new audio file.

RETURN VALUE    [Toc]    [Back]

     afGetMarkName() returns a null-terminated string containing the name
     associated	with the specified marker, or the null string on error.
     afGetMarkComment()	returns	a null-terminated string containing the
     comment associated	with the specified marker, or the null string on
     error.

DESCRIPTION    [Toc]    [Back]

     The AIFF-C	(AIFF) spec includes locations for name	strings	in marker
     structures.  For example, the marker which	holds the beginning sample
     frame location for	the sustain loop might be named	"begin sustain loop".

     The WAVE (RIFF) format spec includes "cues" and associated	data
     describing	each "cue".  In	addition to the	position and name string, a
     "note" is included	in this	data.  The AF maps the mark position, name and
     comment into these	portions of the	description.

     See wave(4) for more details about	cues.

     See the AIFF-C spec and aiff(4) for more details about markers.

SEE ALSO    [Toc]    [Back]

      
      
     afOpenFile(3dm), afGetMarkIDs(3dm), afInitMarkIDs(3dm),
     afInitMarkName(3dm), afInitMarkComment(3dm)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
AFgetmarkpos IRIX get/set the position of a marker in an audio track
AFgetmarkids IRIX get the number and list of marker ID's for an audio track
AFinitmarkname IRIX initialize the name/comment for a specified marker in an AFfilesetup structure
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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service