C# Class PlayControl.PlayControler

Inheritance: Observer.Subject, Interfaces.IPlayControler
Show file Open project: mhack/gamenoise Class Usage Examples

Public Methods

Method Description
DeleteEqualizerSetting ( string eQ ) : void

deletes an Equalizer Setting

GetEQPresetList ( ) : String[]

Returns a List of the Equalizer Presets

GetPlaying ( ) : bool

Get Method for playing

GetValid ( ) : bool

Get Method for validSong

LoadEqualizer ( String eQ ) : void

loads the Equalizer Settings eQ with XML_Serialisation

NextSong ( ) : void

PlayerFunction: Next gets called by UserInterface

Pause ( ) : void

PlayerFunction: Pause gets called by UserInterface

Play ( ) : void

PlayerFunction: Play gets called by UserInterface

PlayControler ( String pathTmpEqualizer ) : System

Constructor for PlayControler

PreviousSong ( ) : void

PlayerFunction: Prev gets called by UserInterface

SaveEqualizer ( String eQ ) : void

Saves the recent Equalizer Settings

SetEqualizer ( int band, float freq ) : void

Sets an Equalizer Band

SetEqualizerAll ( float frequencyList ) : void

sets every Equalizer Band

Stop ( ) : void

PlayerFunction: Stop gets called by UserInterface

Method Details

DeleteEqualizerSetting() public method

deletes an Equalizer Setting
public DeleteEqualizerSetting ( string eQ ) : void
eQ string the Equalizer Setting name to delete
return void

GetEQPresetList() public method

Returns a List of the Equalizer Presets
public GetEQPresetList ( ) : String[]
return String[]

GetPlaying() public method

Get Method for playing
public GetPlaying ( ) : bool
return bool

GetValid() public method

Get Method for validSong
public GetValid ( ) : bool
return bool

LoadEqualizer() public method

loads the Equalizer Settings eQ with XML_Serialisation
public LoadEqualizer ( String eQ ) : void
eQ String Equalizer Settings to Load
return void

NextSong() public method

PlayerFunction: Next gets called by UserInterface
public NextSong ( ) : void
return void

Pause() public method

PlayerFunction: Pause gets called by UserInterface
public Pause ( ) : void
return void

Play() public method

PlayerFunction: Play gets called by UserInterface
public Play ( ) : void
return void

PlayControler() public method

Constructor for PlayControler
public PlayControler ( String pathTmpEqualizer ) : System
pathTmpEqualizer String
return System

PreviousSong() public method

PlayerFunction: Prev gets called by UserInterface
public PreviousSong ( ) : void
return void

SaveEqualizer() public method

Saves the recent Equalizer Settings
public SaveEqualizer ( String eQ ) : void
eQ String Save Name for XML
return void

SetEqualizer() public method

Sets an Equalizer Band
public SetEqualizer ( int band, float freq ) : void
band int Band (0-9)
freq float Frequency
return void

SetEqualizerAll() public method

sets every Equalizer Band
public SetEqualizerAll ( float frequencyList ) : void
frequencyList float 10 Band Float list
return void

Stop() public method

PlayerFunction: Stop gets called by UserInterface
public Stop ( ) : void
return void