mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Fixed crash loading wavetable when changing preset
This commit is contained in:
parent
9d6da9bb2d
commit
2a5b9d973a
3 changed files with 51 additions and 33 deletions
|
|
@ -42,6 +42,7 @@ public:
|
|||
void loadUserWavetable (int osc, const juce::File f);
|
||||
|
||||
void applyEffects (juce::AudioSampleBuffer& buffer);
|
||||
bool loadWaveTable (juce::OwnedArray<gin::BandLimitedLookupTable>& table, double sr, const juce::MemoryBlock& wav, const juce::String& format);
|
||||
|
||||
// Voice Params
|
||||
struct OSCParams
|
||||
|
|
@ -274,6 +275,8 @@ public:
|
|||
};
|
||||
|
||||
CurTable curTables[Cfg::numOSCs];
|
||||
|
||||
juce::CriticalSection dspLock;
|
||||
|
||||
//==============================================================================
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WavetableAudioProcessor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue