diff --git a/libs/juce/source/modules/juce_audio_formats/format/juce_AudioFormatReader.cpp b/libs/juce/source/modules/juce_audio_formats/format/juce_AudioFormatReader.cpp index b265b093..fd0a7e6c 100644 --- a/libs/juce/source/modules/juce_audio_formats/format/juce_AudioFormatReader.cpp +++ b/libs/juce/source/modules/juce_audio_formats/format/juce_AudioFormatReader.cpp @@ -163,7 +163,7 @@ void AudioFormatReader::read (AudioSampleBuffer* buffer, } else { - HeapBlock chans ((size_t) numTargetChannels); + HeapBlock chans ((size_t) numTargetChannels + 1); readChannels (*this, chans, buffer, startSample, numSamples, readerStartSample, numTargetChannels); } diff --git a/ports/pitchedDelay/source/PluginEditor.cpp b/ports/pitchedDelay/source/PluginEditor.cpp index eeae9522..bcd04fec 100644 --- a/ports/pitchedDelay/source/PluginEditor.cpp +++ b/ports/pitchedDelay/source/PluginEditor.cpp @@ -63,7 +63,7 @@ PitchedDelayAudioProcessorEditor::PitchedDelayAudioProcessorEditor (PitchedDelay { #if LINUX - File presetFile("~/.config/lkjb/PitchedDelay/presets.xml"); + File presetFile("~/.config/lkjb/PitchedDelayPresets.xml"); #else File presetFile(File::getSpecialLocation(File::userApplicationDataDirectory).getChildFile("lkjb").getChildFile("PitchedDelay").getChildFile("presets.xml")); #endif