TAP_SetSystemVar

Topfield Documentation

int TAP_SetSystemVar( int varId, int value )

It sets the system variable. It returns the set value.

  • varId : Identification number of the following system variables.
  • value : the value to be set to the system variable.
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_SetSystemVar(SYSVAR_Vol) requires a value in the range 0x00 (0%) to 0x11 (100%). This is the same scaling as used in TAP_GetSystemVar(SYSVAR_Vol), but different from that in TAP_SetSoundLevel(). However if the value returned by TAP_GetSystemVar(SYSVAR_Vol) while muted is used, it will be treated as invalid and the level set to zero.