• PHONE_REC_VOLUME

    ioctl(ixj, PHONE_REC_VOLUME, iVolume)

    Return Value

    Returns iVolume unless iVolume == -1, then it returns the current setting.

    Parameters

    The scaling factor for the DSP to use.

    Remarks

    This sets the digital scaling factor for the audio volume. This is used to control the audio volume on the DSP. This has no effect on the mixer settings on the Internet LineJACK. Scaling uses 0x0100 as the 1.0 value. 0x0200 is 2 times normal volume, 0x0080 is half of normal volume. The default setting is 0x0100.

    Note that the volume control is digital scaling. Errors will not generate clipping as in analog equipment, but rollover errors. No protection is given against over scaling.

    See Also:

    PHONE_PLAY_VOLUME

    Example:

    ioctl(ixj, PHONE_REC_VOLUME, iVolume);
    


    ©1996-2001 Quicknet Technologies, Inc.