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

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

Contents


dmG726EncoderSetParams(3dm)			   dmG726EncoderSetParams(3dm)


NAME    [Toc]    [Back]

     dmG726EncoderSetParams - set G726 encoder parameter values

SYNOPSIS    [Toc]    [Back]

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

     DMstatus dmG726EncoderSetParams(DMG726encoder handle,
				   DMparams *params)

PARAMETER    [Toc]    [Back]

     handle   DMG726encoder structure, created by dmG726EncoderCreate(3dm).


     params   List of parameters for specification. Null (0) value ok.

RETURNED VALUE    [Toc]    [Back]

     Returns DM_SUCCESS	or DM_FAILURE.

DESCRIPTION    [Toc]    [Back]

     dmG726EncoderSetParams(3dm) sets state of G726 encoder with params.
     Unrecognized parameters are ignored.


     The set of	parameters for params are, defined in dmedia/dm_audio.h	and
     dmedia/dm_audioutil.h:


     DM_AUDIO_BITRATE    [Toc]    [Back]


     The corresponding value for DM_AUDIO_BITRATE is integer.  G.726 algorithm
     supports bit rate of any one of the following rates in the	set {16000,
     24000, 32000, 40000} (bits/second).


     DM_G726_NATIVE_FORMAT    [Toc]    [Back]

     specifies the input or output (uncompressed or decompressed) sample date
     format.  The corresponding	value for DM_G726_NATIVE_FORMAT	is one of the
     following

	  AUDIO_ENCODING_ULAW
	  AUDIO_ENCODING_ALAW
	  AUDIO_ENCODING_LINEAR





									Page 1






dmG726EncoderSetParams(3dm)			   dmG726EncoderSetParams(3dm)



     Currently,	data types supported are short for linear input/output sample
     data or unsigned char for A-law or	mu-law input/output sample data.  For
     linear output, the	samples	are assumed to be two's	complement.

NOTE    [Toc]    [Back]

SEE ALSO
     dmG726EncoderCreate(3dm), dmG726Encode(3dm), dmG726EncoderGetParams(3dm).


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