dmDVAudioDecoderSetParams(3dm) dmDVAudioDecoderSetParams(3dm)
dmDVAudioDecoderSetParams - set DV Audio decoder parameter values
#include <dmedia/dm_audioutil.h>
#include <dmedia/dm_audio.h>
#include <dmedia/dm_params.h>
DMstatus dmDVAudioDecoderSetParams(DMDVaudiodecoder handle,
DMparams *params)
handle DMDVaudiodecoder structure, created by
dmDVAudioDecoderCreate(3dm).
params List of parameters for specification. Null (0) value ok.
Returns DM_SUCCESS or DM_FAILURE.
dmDVAudioDecoderSetParams(3dm) sets state of DV audio decoder with
params. Unrecognized parameters are ignored.
The parameters for params are, defined in dmedia/dm_audioutil.h:
DM_AUDIO_CHANNELS - required, number of channels of audio (1 or 2 or 4)
DM_AUDIO_WIDTH - should always be 16
DM_MEDIUM - should always be DM_AUDIO
DM_AUDIO_RATE - required, the output sample rate in floating point (ex:
48000.0)
dmDVAudioDecoderCreate(3dm), dmDVAudioDecode(3dm),
dmDVAudioDecoderGetParams(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|