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

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

Contents


dmDVAudioEncoderSetParams(3dm)			dmDVAudioEncoderSetParams(3dm)


NAME    [Toc]    [Back]

     dmDVAudioEncoderSetParams - set DV	Audio encoder parameter	values

SYNOPSIS    [Toc]    [Back]

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

     DMstatus dmDVAudioEncoderSetParams(DMDVaudioencoder handle,
				   DMparams *params)

PARAMETER    [Toc]    [Back]

     handle   DMDVaudioencoder structure, created by
	      dmDVAudioEncoderCreate(3dm).


     params   list of parameters to configure the audio	encoder.  Null (0)
	      value ok.

RETURNED VALUE    [Toc]    [Back]

     Returns DM_SUCCESS	or DM_FAILURE.

DESCRIPTION    [Toc]    [Back]

     dmDVAudioEncoderSetParams(3dm) sets state of the DV audio encoder to the
     values specified in params.  Unrecognized parameters are ignored.


     The parameters that params	can have specified are defined in
     dmedia/dm_audioutil.h:

     DM_DVAUDIO_FORMAT - required, either DM_DVAUDIO_NTSC or DM_DVAUDIO_PAL
     DM_DVAUDIO_TYPE - not required, either DM_DVAUDIO_DV or
     DM_DVAUDIO_DVCPRO,	defaults to DM_DVAUDIO_DV
     DM_AUDIO_CHANNELS - required, number of channels of audio (1 or 2)	If
     f3DM_DVAUDIO_TYPE is DM_DVAUDIO_DVCPRO, this must be 2.
     DM_AUDIO_WIDTH - should always be 16
     DM_MEDIUM - should	always be DM_AUDIO
     DM_AUDIO_RATE - required, the sample rate in floating point (ex: 48000.0)
     If	the DM_DVAUDIO_TYPE is DM_DVAUDIO_DVCPRO, only 48 kHz is supported.
     If	the DM_DVAUDIO_TYPE is DM_DVAUDIO_DV, both 32 kHz and 48 kHz are
     supported.
     DM_DVAUDIO_LOCK_MODE - not	required, non-zero if audio is locked
     according to the DV audio specification.  Zero if it is not locked.
     Defaults to locked	audio.







									Page 1






dmDVAudioEncoderSetParams(3dm)			dmDVAudioEncoderSetParams(3dm)


SEE ALSO    [Toc]    [Back]

      
      
     dmDVAudioEncoderCreate(3dm), dmDVAudioEncode(3dm),
     dmDVAudioEncoderGetParams(3dm).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
dmDVAudioEncoderGetParams IRIX get DV audio encoder parameter values
dmDVIAudioEncoderGetParams IRIX get DVI audio encoder parameter values
dmDVIAudioEncoderSetParams IRIX set DVI Audio encoder parameter values
dmMPEG1AudioEncoderSetParams IRIX set and query MPEG1 audio encoder/decoder parameter values.
dmGSMEncoderGetParams IRIX get GSM encoder parameter values
dmG726EncoderGetParams IRIX get G726 encoder parameter values
dmFS1016EncoderSetParams IRIX set FS1016 encoder parameter values.
dmFS1016EncoderGetParams IRIX get FS1016 encoder parameter values
dmG722EncoderGetParams IRIX get G722 encoder parameter values
dmG726EncoderSetParams IRIX set G726 encoder parameter values
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service