comparison 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
comparison
equal deleted inserted replaced
31:b1112948724f 32:42989c2e621b
121 static QString m_sampleDir; 121 static QString m_sampleDir;
122 122
123 virtual RealTimePluginInstance *loadPluginFor(const Model *model); 123 virtual RealTimePluginInstance *loadPluginFor(const Model *model);
124 virtual RealTimePluginInstance *loadPlugin(QString id, QString program); 124 virtual RealTimePluginInstance *loadPlugin(QString id, QString program);
125 static QString getSampleDir(); 125 static QString getSampleDir();
126 static QString getSamplePath(); 126 static void setSampleDir(RealTimePluginInstance *plugin);
127 static void setSamplePath(RealTimePluginInstance *plugin);
128 127
129 virtual size_t mixDenseTimeValueModel 128 virtual size_t mixDenseTimeValueModel
130 (DenseTimeValueModel *model, size_t startFrame, size_t frameCount, 129 (DenseTimeValueModel *model, size_t startFrame, size_t frameCount,
131 float **buffer, float gain, float pan, size_t fadeIn, size_t fadeOut); 130 float **buffer, float gain, float pan, size_t fadeIn, size_t fadeOut);
132 131