ioctl(ixj, PHONE_REC_CODEC, iCodec)
Return Value
Returns TRUE if the codec code was accepted.
Parameters
The codec to use.
Remarks
Selects the codec the record channel is to use. Customarily, the record and playback channels are set to the same codec, but this is not required.
Codec Symbolic Name | Bytes Per 30ms Frame | Notes |
G723_63 | 24 | |
G723_53 | 20 | |
TS85 | 32 | Not supported on Internet LineJACK in GPL Driver |
TS48 | 18 | |
TS41 | 16 | |
G728 | 96 | Not supported on Internet PhoneJACK |
G729 | 30 | Not supported in GPL Driver |
ULAW | 240 | |
ALAW | 240 | Not implemented |
LINEAR16 | 480 | |
LINEAR8 | 240 | |
WSS | 240 |
See Also:
Example:
ioctl(ixj, PHONE_REC_CODEC, G723_63);
©1996-2001 Quicknet Technologies, Inc.