/// <summary> /// Loads a WinAmp DSP plug-in and applies it to the mixer /// </summary> /// <param name="location">The file location of the WinAmp DSP DLL</param> public WaPlugin LoadWaPlugin(string location) { var playing = PlayState == PlayState.Playing; if (playing) { Pause(); } var plugin = SpeakerOutput.LoadWaPlugin(location); if (playing) { Play(); } return(plugin); }
/// <summary> /// Unloads all loaded WinAmp plug-ins. /// </summary> public void UnloadAllWaPlugins() { SpeakerOutput.ClearWaPlugin(); }
/// <summary> /// Clears the main VST plug-in. /// </summary> public void ClearMainVstPlugin(int index) { SpeakerOutput.ClearVstPlugin(index); }
/// <summary> /// Loads a VST plug-in and applies it to the mixer /// </summary> /// <param name="location">The file location of the VST DLL</param> /// <param name="index">The index.</param> /// <returns></returns> public VstPlugin LoadMainVstPlugin(string location, int index) { return(SpeakerOutput.LoadVstPlugin(location, index)); }