• PHONE_VAD

    ioctl(ixj, PHONE_VAD, bState)

    Return Value

    None.

    Parameters

    TRUE if you wish to turn VAD on, FALSE if you wish to turn it off.

    Remarks

    This controls the VAD/CNG functionality of G.723.1. The driver will always pass full size frames, any unused bytes will be padded with zeros, and frames passed to the driver should also be padded with zeros. The frame type is encoded in the least significant two bits of the first WORD of the frame as follows:
    bits 1-0Frame TypeData RateSignificant Words
    00G.732.16.312
    01G.732.1 5.310
    10VAD/CNG2
    11Repeat last CNG2 bits

    See Also:

    Example:

    ioctl(ixj, PHONE_VAD, TRUE);
    


    ©1996-2001 Quicknet Technologies, Inc.