Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
82:bf42d8d63885 | 83:b2067aff8cd6 |
---|---|
89 long m_ons[Polyphony]; | 89 long m_ons[Polyphony]; |
90 long m_offs[Polyphony]; | 90 long m_offs[Polyphony]; |
91 int m_velocities[Polyphony]; | 91 int m_velocities[Polyphony]; |
92 long m_sampleNo; | 92 long m_sampleNo; |
93 | 93 |
94 QString m_samplePath; | 94 QString m_sampleDir; |
95 QString m_program; | 95 QString m_program; |
96 std::vector<std::pair<QString, QString> > m_samples; // program name, path | 96 std::vector<std::pair<QString, QString> > m_samples; // program name, path |
97 bool m_sampleSearchComplete; | 97 bool m_sampleSearchComplete; |
98 int m_pendingProgramChange; | 98 int m_pendingProgramChange; |
99 | 99 |