Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmDVAudioEncode(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



dmDVAudioEncode(3dm)                                      dmDVAudioEncode(3dm)



NAME
     dmDVAudioEncode - implements DV and DVCPRO audio encode


SYNOPSIS
     #include <dmedia/dmaudioutil.h>

     DMstatus dmDVAudioEncode(DMDVaudioencoder handle,
                          void *ibuf, void *obuf, int *nsamples)


PARAMETER
     handle    DMDVaudioencoder structure, created by
               dmDVAudioEncoderCreate(3dm), specifies the states of the signal
               processing parameters.


     ibuf      pointer to input sample data buffer.  The data format is short
               (16-bit).  The samples are assumed to be two's complement.
               Sampling rate can be either 32 kHz or 48 kHz.


     obuf      pointer to output data buffer which is a complete DIF frame.
               See dm_dv(3dm) for more info about DIF, DV, and DVCPRO.  The
               audio is inserted into the DIF frame without affecting any
               video that may or may not exist in the DIF frame. The DIF
               output buffer size must be either DM_DVAUDIO_NTSC_DIF_FRAMESIZE
               or DM_DVAUDIO_PAL_DIF_FRAMESIZE.


     nsamples  number of samples to be processed.  Returns the number of
               samples actually encoded.


RETURNED VALUE
     Returns DMFAILURE or DMSUCCESS.


DESCRIPTION
     dmDVAudioEncode(3dm) implements DV and DVCPRO audio compression.


SEE ALSO
     dmDVAudioEncoderGetFrameSize.3dm, dmDVAudioEncoderCreate.3dm,
     dmDVAudioEncoderReset.3dm, dmDVAudioEncoderDestroy.3dm,
     dmDVAudioEncoderSetParams.3dm, dmDVAudioEncoderGetParams.3dm.









                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026