TAP_GetSystemVar

Topfield Documentation

int TAP_GetSystemVar( int varId )

It returns the system stting information. varId : Identification number of the following system variables.

The Identification number is defined in the TAP.H. For the detailed information, refer the TAP.H.

  • SYSVAR_Vol Volome
  • SYSVAR_OsdLan Menu Language
  • SYSVAR_SubLan Subtitle Language
  • SYSVAR_AudLan Audio Language
  • SYSVAR_TvType Tv Type
  • SYSVAR_VideoOut Video Output
  • SYSVAR_ScartType Scart Type
  • SYSVAR_TvRatio Tv Aspect Ratio
  • SYSVAR_16_9_Display 16:9 Display Format
  • SYSVAR_SoundMode Sound Mode
  • SYSVAR_UhfType UHF Type
  • SYSVAR_UhfCh UHF Channel
  • SYSVAR_OsdAlpha OSD Transparency
  • SYSVAR_IBoxTime Info Box Display Time
  • SYSVAR_IBoxPos Info Box Position
  • SYSVAR_Timeshift Time shifting

Additional Documentation

TAP_GetSystemVar(SYSVAR_Vol)returns a value in the range 0x00 (0%) to 0x11 (100%) when not muted, to which 0x80 is added when muted. This is the same scaling as used in TAP_SetSystemVar(SYSVAR_Vol), but different from that in TAP_SetSoundLevel().