• PHONE_REC_CODEC

    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 NameBytes Per 30ms FrameNotes
    G723_6324
    G723_5320
    TS8532Not supported on Internet LineJACK in GPL Driver
    TS4818
    TS4116
    G72896Not supported on Internet PhoneJACK
    G72930Not supported in GPL Driver
    ULAW240
    ALAW240Not implemented
    LINEAR16480
    LINEAR8240
    WSS240

    See Also:

    PHONE_PLAY_CODEC

    Example:

    ioctl(ixj, PHONE_REC_CODEC, G723_63);
    


    ©1996-2001 Quicknet Technologies, Inc.