RILGAININFO (Compact 2013)

3/26/2014

This structure stores audio gain information.

Syntax

typedef struct rilgaininfo_tag {
  DWORD cbSize;
  DWORD dwParams;
  DWORD dwTxGain;
  DWORD dwRxGain;
} RILGAININFO, *LPRILGAININFO;

Members

  • cbSize
    Size of the structure, in bytes.
  • dwTxGain
    Specifies transmit gain level.
  • dwRxGain
    Specifies receive gain level.

Remarks

The minimum and maximum values for both dwTxGain and dwRxGain are 0 and ULONG_. Values between these extremes scale linearly. The RIL driver is responsible for scaling these values to match whatever is appropriate for the corresponding radio. For example, if a radio's gain range is from 0 to 0x1F, the RIL driver must interpret 0xFFFFFFFF as 0x1F and map intermediate values proportionately.

Requirements

Header

ril.h

See Also

Reference

RIL Structures
RIL_GetAudioGain
RIL_SetAudioGain
RILGAININFO Parameter Constants