diff plugin/plugins/SamplePlayer.h @ 83:b2067aff8cd6

* 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 163f3428bbe0
children 0f0c9cf65d5e
line wrap: on
line diff
--- a/plugin/plugins/SamplePlayer.h	Wed Apr 26 14:09:55 2006 +0000
+++ b/plugin/plugins/SamplePlayer.h	Wed Apr 26 16:00:13 2006 +0000
@@ -91,7 +91,7 @@
     int m_velocities[Polyphony];
     long m_sampleNo;
 
-    QString m_samplePath;
+    QString m_sampleDir;
     QString m_program;
     std::vector<std::pair<QString, QString> > m_samples; // program name, path
     bool m_sampleSearchComplete;