• PHONE_PLAY_VOLUME

    ioctl(ixj, PHONE_PLAY_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 Internet PhoneJACK and the PSTN volume on the Internet LineJACK. Scaling uses 0x0100 as the 1.0 value. 0x0200 is 2 times normal volume, 0x0080 is half the normal volume.

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

    See Also:

    PHONE_REC_VOLUME

    Example:

    ioctl(ixj, PHONE_PLAY_VOLUME, iVolume);
    


    ©1996-2001 Quicknet Technologies, Inc.