C# Class MediaPortal.Configuration.Sections.MusicDSP

Datei anzeigen Open project: MediaPortal/MediaPortal-1

Public Methods

Method Description
LoadSettings ( ) : void

Load Effects Settings

MusicDSP ( ) : System
MusicDSP ( string name ) : System
OnSectionActivated ( ) : void
SaveSettings ( ) : void

Save Effects Settings

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
MusicDSP_Load ( object sender, EventArgs e ) : void

Set the Tooltip and strings for the about page, when loading the control

SetDAmpPreset ( int preset ) : void
SetDSPGain ( double gainDB ) : void
ShowConfigWindow ( ) : void

Open VST Plugin Configuration window

btFileselect_Click ( object sender, EventArgs e ) : void

Select the Music file to Play for testing the DSP Settings

btPlay_Click ( object sender, EventArgs e ) : void

Play the selected Music File

btStop_Click ( object sender, EventArgs e ) : void

Stop Playing the active Music File

btnConfig_Click ( object sender, EventArgs e ) : void
buttonPluginAdd_Click ( object sender, EventArgs e ) : void

Add the selected VST plugin(s) to the Selected Plugin Listbox

buttonPluginRemove_Click ( object sender, EventArgs e ) : void

Don't use the selected VST Plugin anymore

buttonSetGain_Click ( object sender, EventArgs e ) : void
checkBoxCompressor_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxDAmp_CheckedChanged ( object sender, EventArgs e ) : void
f_Closing ( object sender, CancelEventArgs e ) : void

The VST Editor window has been closed. Free the resources

listBoxFoundPlugins_DoubleClick ( object sender, EventArgs e ) : void
listBoxSelectedPlugins_DoubleClick ( object sender, EventArgs e ) : void
setBassDSP ( string id, string name, string value ) : void

Sets the parameter for a given Bass effect

trackBarCompressor_ValueChanged ( object sender, EventArgs e ) : void
trackBarGain_ValueChanged ( object sender, EventArgs e ) : void
vstEditorCallBack ( int vstEditor, BASSVSTAction action, int param1, int param2, IntPtr user ) : int

This routine is called, whenever a change is done in the VST Editor

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

LoadSettings() public method

Load Effects Settings
public LoadSettings ( ) : void
return void

MusicDSP() public method

public MusicDSP ( ) : System
return System

MusicDSP() public method

public MusicDSP ( string name ) : System
name string
return System

OnSectionActivated() public method

public OnSectionActivated ( ) : void
return void

SaveSettings() public method

Save Effects Settings
public SaveSettings ( ) : void
return void