diff audioio/AudioGenerator.h @ 32:42989c2e621b

* Fix crash in spectrogram layer when replacing model * Change sample player's sample path to a single sample directory. This makes it immune to OS path separator differences, and ensures it can reject configure calls that try to set a nonexistent directory. Reloading play parameters (e.g. sample program) should now work. * some win32 fixes.
author Chris Cannam
date Wed, 26 Apr 2006 16:00:13 +0000
parents f38b8abd3540
children
line wrap: on
line diff
--- a/audioio/AudioGenerator.h	Wed Apr 26 14:09:55 2006 +0000
+++ b/audioio/AudioGenerator.h	Wed Apr 26 16:00:13 2006 +0000
@@ -123,8 +123,7 @@
     virtual RealTimePluginInstance *loadPluginFor(const Model *model);
     virtual RealTimePluginInstance *loadPlugin(QString id, QString program);
     static QString getSampleDir();
-    static QString getSamplePath();
-    static void setSamplePath(RealTimePluginInstance *plugin);
+    static void setSampleDir(RealTimePluginInstance *plugin);
 
     virtual size_t mixDenseTimeValueModel
     (DenseTimeValueModel *model, size_t startFrame, size_t frameCount,