C# Class MediaPortal.Player.RefreshRateChanger

Show file Open project: MediaPortal/MediaPortal-1

Public Methods

Method Description
AdaptRefreshRate ( ) : void
AdaptRefreshRate ( string strFile, MediaType type ) : void
ResetRefreshRateState ( ) : void
SetRefreshRateBasedOnFPS ( double fps, string strFile, MediaType type ) : void

Private Methods

Method Description
FindExtCmdfromSettings ( double fps, double currentRR, bool deviceReset, double &newRR, string &newExtCmd, string &newRRDescription ) : void
GetRefreshRateConfiguration ( ) : void
NotifyRefreshRateChanged ( string msg, bool waitForFullScreen ) : void
NotifyRefreshRateChangedThread ( object oMsg, object oWaitForFullScreen ) : void
RefreshRateShowNotification ( string msg, bool waitForFullscreen ) : void
RetrieveRefreshRateChangerSetting ( string name ) : RefreshRateSetting
RunExternalJob ( string newExtCmd, string strFile, MediaType type, bool deviceReset ) : bool

Method Details

AdaptRefreshRate() public static method

public static AdaptRefreshRate ( ) : void
return void

AdaptRefreshRate() public static method

public static AdaptRefreshRate ( string strFile, MediaType type ) : void
strFile string
type MediaType
return void

ResetRefreshRateState() public static method

public static ResetRefreshRateState ( ) : void
return void

SetRefreshRateBasedOnFPS() public static method

public static SetRefreshRateBasedOnFPS ( double fps, string strFile, MediaType type ) : void
fps double
strFile string
type MediaType
return void