C# Class PlayControl.PlayControler

Inheritance: Observer.Subject, Interfaces.IPlayControler
Afficher le fichier Open project: mhack/gamenoise Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

GetEQPresetList() public méthode

Returns a List of the Equalizer Presets
public GetEQPresetList ( ) : String[]
Résultat String[]

GetPlaying() public méthode

Get Method for playing
public GetPlaying ( ) : bool
Résultat bool

GetValid() public méthode

Get Method for validSong
public GetValid ( ) : bool
Résultat bool

LoadEqualizer() public méthode

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

NextSong() public méthode

PlayerFunction: Next gets called by UserInterface
public NextSong ( ) : void
Résultat void

Pause() public méthode

PlayerFunction: Pause gets called by UserInterface
public Pause ( ) : void
Résultat void

Play() public méthode

PlayerFunction: Play gets called by UserInterface
public Play ( ) : void
Résultat void

PlayControler() public méthode

Constructor for PlayControler
public PlayControler ( String pathTmpEqualizer ) : System
pathTmpEqualizer String
Résultat System

PreviousSong() public méthode

PlayerFunction: Prev gets called by UserInterface
public PreviousSong ( ) : void
Résultat void

SaveEqualizer() public méthode

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

SetEqualizer() public méthode

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

SetEqualizerAll() public méthode

sets every Equalizer Band
public SetEqualizerAll ( float frequencyList ) : void
frequencyList float 10 Band Float list
Résultat void

Stop() public méthode

PlayerFunction: Stop gets called by UserInterface
public Stop ( ) : void
Résultat void