diff plugin/plugins/SamplePlayer.h @ 75:163f3428bbe0

* Create temporary directory, cleaned up on exit, and use it to store (inter alia) audio samples for the sample-player plugin. * Ensure newly added layers always have unique names * Make sure configure pairs for real-time plugins are stored in the configuration Xml along with parameter & program settings
author Chris Cannam
date Mon, 10 Apr 2006 13:52:32 +0000
parents d397ea0a79f5
children b2067aff8cd6
line wrap: on
line diff
--- a/plugin/plugins/SamplePlayer.h	Fri Apr 07 17:50:33 2006 +0000
+++ b/plugin/plugins/SamplePlayer.h	Mon Apr 10 13:52:32 2006 +0000
@@ -62,6 +62,7 @@
     static void run(LADSPA_Handle, unsigned long);
     static void deactivate(LADSPA_Handle);
     static void cleanup(LADSPA_Handle);
+    static char *configure(LADSPA_Handle, const char *, const char *);
     static const DSSI_Program_Descriptor *getProgram(LADSPA_Handle, unsigned long);
     static void selectProgram(LADSPA_Handle, unsigned long, unsigned long);
     static int getMidiController(LADSPA_Handle, unsigned long);
@@ -90,6 +91,7 @@
     int m_velocities[Polyphony];
     long m_sampleNo;
 
+    QString m_samplePath;
     QString m_program;
     std::vector<std::pair<QString, QString> > m_samples; // program name, path
     bool m_sampleSearchComplete;