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

  man pages->IRIX man pages -> dmedia/dmACCreate (3d)              
Title
Content
Arch
Section
 

Contents


dmACCreate(3dm)						       dmACCreate(3dm)


NAME    [Toc]    [Back]

     dmACCreate, dmACDestroy - create/destroy a	DMaudioconverter handle	used
     for audio format conversion.

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/dm_audio.h>
     #include <dmedia/dm_audioutil.h>

     DMstatus dmACCreate(DMaudioconverter* converter)

     DMstatus dmACDestroy(DMaudioconverter converter)    [Toc]    [Back]

RETURNED VALUE    [Toc]    [Back]

     Returns DM_SUCCESS	if the operation succeeds.  If DM_FAILURE is returned,
     the error number and/or message can be retrieved via dmGetError(3dm).

DESCRIPTION    [Toc]    [Back]

     The handle	passed to this routine is declared as follows:

     typedef struct _DMaudioconverter *DMaudioconverter;

     dmACCreate	allocates and initializes an DMaudioconverter handle. This
     structure is then used as the basic argument for all Digital Media
     Library audio format conversion (dmAC) routines.  dmACDestroy frees all
     memory associated with the	DMaudioconverter handle.  Any subsequent use
     of	this handle is prohibited.

     Note that the creation routine takes a pointer to the typdef'd type, and
     the destroy routine does not.

SEE ALSO    [Toc]    [Back]

      
      
     dmACSetParams(3dm), dmACGetParams(3dm), dmACConvert(3dm), dmACReset(3dm)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
dmACReset IRIX reset a DMaudioconverter handle to its default state
afSetConversionParams IRIX set/get the parameters associated with format conversion for a specified audio track via dmParams
afInitFormatParams IRIX initialize the audio data format in an AFfilesetup for a specified audio track via dmParams
afSetVirtualFormatParams IRIX set/get the virtual audio data format in an AFfilehandle for a specified audio track via dmParams
afGetFormatParams IRIX get the audio data format in an AFfilehandle for a specified audio track via dmParams
AFinitsampfmt IRIX initialize the audio data format in an AFfilesetup for a specified audio track
menu_new FreeBSD create and destroy menus
free_menu FreeBSD create and destroy menus
new_form FreeBSD create and destroy forms
new_menu FreeBSD create and destroy menus
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service