--- linuxsampler/trunk/src/Sampler.h 2004/07/18 00:29:39 209 +++ linuxsampler/trunk/src/Sampler.h 2004/07/28 14:17:29 212 @@ -335,6 +335,12 @@ */ void DestroyMidiInputDevice(MidiInputDevice* pDevice) throw (LinuxSamplerException); + /** + * Reset the whole sampler. Destroy all engines, sampler + * channels, MIDI input devices and audio output devices. + */ + void Reset(); + protected: typedef std::map AudioOutputDeviceMap; typedef std::map MidiInputDeviceMap;