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-0 | Frame Type | Data Rate | Significant Words |
00 | G.732.1 | 6.3 | 12 |
01 | G.732.1 | 5.3 | 10 |
10 | VAD/CNG | 2 | |
11 | Repeat last CNG | 2 bits |
See Also:
Example:
ioctl(ixj, PHONE_VAD, TRUE);
©1996-2001 Quicknet Technologies, Inc.