dmG728DecoderSetParams(3dm)dmG728DecoderSetParams(3dm)NAMEdmG728DecoderSetParams - set G728 decoder parameter values.
SYNOPSIS
#include <dmedia/dm_audioutil.h>
#include <dmedia/dm_audio.h>
#include <dmedia/dm_params.h>
DMstatus dmG728DecoderSetParams(DMG728decoder handle,
DMparams *params)
PARAMETER
handle DMG728decoder structure, created by dmG728DecoderCreate(3dm).
params List of parameters for specification. Null (0) value ok.
RETURNED VALUE
Returns DM_SUCCESS or DM_FAILURE.
DESCRIPTIONdmG728DecoderSetParams(3dm) sets state of G728 decoder with params.
Unrecognized parameters are ignored.
The only parameter of params for G.728 decoder specification is, defined
in dmedia/dm_audioutil.h:
DM_G728_POSTFILTERING_FLAG
The value for DM_G728_POSTFILTERING_FLAG can be
DM_G728_POSTFILTERING_YES
DM_G728_POSTFILTERING_NO
that selects a decoder with or without postfiltering. for speech/voice
signal, postfiltering should be used. For DTMF tone or music audio, no
postfiltering should be used. Without calling
dmG728DecoderSetParams(3dm), decoder sets default to
DM_G728_POSTFILTERING_YES.
NOTE
Page 1
dmG728DecoderSetParams(3dm)dmG728DecoderSetParams(3dm)SEE ALSOdmG728DecoderCreate(3dm), dmG728Decode(3dm), dmG728DecoderGetParams(3dm).
Page 2