C# Class Vocaluxe.Base.CConfig

Show file Open project: stsundermann/Vocaluxe Class Usage Examples

Public Properties

Property Type Description
AAMode EAntiAliasingModes
AudioBufferSize EBufferSize
AudioLatency int
BackgroundMusic EOffOn
BackgroundMusicSource EBackgroundMusicSource
BackgroundMusicVolume int
Colors EColorDeep
CoverLoading ECoverLoading
CoverSize int
CoverTheme string
DebugLevel EDebugLevel
DrawNoteLines EOffOn
DrawToneHelper EOffOn
FadeTime float
FullScreen EOffOn
Language string
LyricsOnTop EOffOn
MaxFPS float
MicConfig Vocaluxe.Lib.Sound.SMicConfig[]
MicDelay int
NumPlayer int
PlayBackLib EPlaybackLib
RecordLib ERecordLib
Renderer ERenderer
ScoreAnimationTime float
ScreenH int
ScreenW int
Skin string
SongFolder List
SongMenu ESongMenu
SongSorting ESongSorting
Tabs EOffOn
TextureQuality ETextureQuality
Theme string
TimerLook ETimerLook
TimerMode ETimerMode
VSync EOffOn
VideoBackgrounds EOffOn
VideoDecoder EVideoDecoder
VideoPreview EOffOn
VideosInSongs EOffOn

Public Methods

Method Description
AutoAssignMics ( ) : bool

Try to assign automatically player 1 and 2 to usb-mics.

CalcCycleTime ( ) : float

Calculates the maximum cycle time to reach the MaxFPS value.

Init ( ) : void
IsMicConfig ( ) : bool

Checks, if there is a mic-configuration

IsMicConfig ( int player ) : bool

Checks, if there is a mic-configuration

ListStrings ( string str ) : string

Concat strings into one string with ", " as separator.

LoadCommandLineParams ( string args ) : void

Load command-line-parameters and their values to lists.

LoadConfig ( ) : bool
SaveConfig ( ) : bool
UseCommandLineParamsAfter ( ) : void

Apply command-line-parameters (after reading config.xml)

UseCommandLineParamsBefore ( ) : void

Apply command-line-parameters (before reading config.xml)

Private Methods

Method Description
CheckFile ( string value ) : bool

Method Details

AutoAssignMics() public static method

Try to assign automatically player 1 and 2 to usb-mics.
public static AutoAssignMics ( ) : bool
return bool

CalcCycleTime() public static method

Calculates the maximum cycle time to reach the MaxFPS value.
public static CalcCycleTime ( ) : float
return float

Init() public static method

public static Init ( ) : void
return void

IsMicConfig() public static method

Checks, if there is a mic-configuration
public static IsMicConfig ( ) : bool
return bool

IsMicConfig() public static method

Checks, if there is a mic-configuration
public static IsMicConfig ( int player ) : bool
player int Player-Number
return bool

ListStrings() public static method

Concat strings into one string with ", " as separator.
public static ListStrings ( string str ) : string
str string
return string

LoadCommandLineParams() public static method

Load command-line-parameters and their values to lists.
public static LoadCommandLineParams ( string args ) : void
args string Parameters
return void

LoadConfig() public static method

public static LoadConfig ( ) : bool
return bool

SaveConfig() public static method

public static SaveConfig ( ) : bool
return bool

UseCommandLineParamsAfter() public static method

Apply command-line-parameters (after reading config.xml)
public static UseCommandLineParamsAfter ( ) : void
return void

UseCommandLineParamsBefore() public static method

Apply command-line-parameters (before reading config.xml)
public static UseCommandLineParamsBefore ( ) : void
return void

Property Details

AAMode public static property

public static EAntiAliasingModes AAMode
return EAntiAliasingModes

AudioBufferSize public static property

public static EBufferSize AudioBufferSize
return EBufferSize

AudioLatency public static property

public static int AudioLatency
return int

BackgroundMusic public static property

public static EOffOn BackgroundMusic
return EOffOn

BackgroundMusicSource public static property

public static EBackgroundMusicSource BackgroundMusicSource
return EBackgroundMusicSource

BackgroundMusicVolume public static property

public static int BackgroundMusicVolume
return int

Colors public static property

public static EColorDeep Colors
return EColorDeep

CoverLoading public static property

public static ECoverLoading CoverLoading
return ECoverLoading

CoverSize public static property

public static int CoverSize
return int

CoverTheme public static property

public static string CoverTheme
return string

DebugLevel public static property

public static EDebugLevel DebugLevel
return EDebugLevel

DrawNoteLines public static property

public static EOffOn DrawNoteLines
return EOffOn

DrawToneHelper public static property

public static EOffOn DrawToneHelper
return EOffOn

FadeTime public static property

public static float FadeTime
return float

FullScreen public static property

public static EOffOn FullScreen
return EOffOn

Language public static property

public static string Language
return string

LyricsOnTop public static property

public static EOffOn LyricsOnTop
return EOffOn

MaxFPS public static property

public static float MaxFPS
return float

MicConfig public static property

public static SMicConfig[],Vocaluxe.Lib.Sound MicConfig
return Vocaluxe.Lib.Sound.SMicConfig[]

MicDelay public static property

public static int MicDelay
return int

NumPlayer public static property

public static int NumPlayer
return int

PlayBackLib public static property

public static EPlaybackLib PlayBackLib
return EPlaybackLib

RecordLib public static property

public static ERecordLib RecordLib
return ERecordLib

Renderer public static property

public static ERenderer Renderer
return ERenderer

ScoreAnimationTime public static property

public static float ScoreAnimationTime
return float

ScreenH public static property

public static int ScreenH
return int

ScreenW public static property

public static int ScreenW
return int

Skin public static property

public static string Skin
return string

SongFolder public static property

public static List SongFolder
return List

SongMenu public static property

public static ESongMenu SongMenu
return ESongMenu

SongSorting public static property

public static ESongSorting SongSorting
return ESongSorting

Tabs public static property

public static EOffOn Tabs
return EOffOn

TextureQuality public static property

public static ETextureQuality TextureQuality
return ETextureQuality

Theme public static property

public static string Theme
return string

TimerLook public static property

public static ETimerLook TimerLook
return ETimerLook

TimerMode public static property

public static ETimerMode TimerMode
return ETimerMode

VSync public static property

public static EOffOn VSync
return EOffOn

VideoBackgrounds public static property

public static EOffOn VideoBackgrounds
return EOffOn

VideoDecoder public static property

public static EVideoDecoder VideoDecoder
return EVideoDecoder

VideoPreview public static property

public static EOffOn VideoPreview
return EOffOn

VideosInSongs public static property

public static EOffOn VideosInSongs
return EOffOn